Changeset 68 for trunk/bootcode


Ignore:
Timestamp:
Apr 8, 2017, 12:25:44 AM (8 years ago)
Author:
Ben Rietbroek
Message:

Minor fixes for building on Linux [v1.1.1-testing]

CAUTION:
This is a testbuild !
AirBoot uses the BIOS to access disks and a small coding error can trash
partition tables or other vital disk structures. You are advised to make
backups of TRACK0 and EBRs before using this testbuild. More info at:
https://rousseaux.github.io/netlabs.air-boot/pdf/AirBoot-v1.1.0-manual.pdf

Location:
trunk/bootcode
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/bootcode/Makefile

    r66 r68  
    166166# Generate the list-file on a local drive so JWasm doen't take forever.
    167167# This is done in the recipe.
    168 JWASM_LIST_FILE_LOC=$(%TEMP)\
     168JWASM_LIST_FILE_LOC=$(%TEMP)$(DS)
    169169JWASM_LIST_FILE=-Fl=$(JWASM_LIST_FILE_LOC)$^&.lst
    170170
     
    513513        $(ASM) $(ASM_FLAGS) $(BASENAME).asm
    514514!if "$(%AB_DEV)"=="TRUE"
    515         @copy ..\install\c\airboot2.exe .
     515        @$(CP) ..$(DS)install$(DS)c$(DS)airboot2.exe .
    516516!endif
    517517!if "$(ASM)"=="jwasm"
     
    519519# Command 'move' does not work across drives.
    520520# So we do a 'copy' then 'del' instead.
    521         @if not exist $^&.lst copy $(JWASM_LIST_FILE_LOC)$^&.lst .
    522         @if exist $(JWASM_LIST_FILE_LOC)$^&.lst del $(JWASM_LIST_FILE_LOC)$^&.lst
     521        @if not exist $^&.lst $(CP) $(JWASM_LIST_FILE_LOC)$^&.lst .
     522        @if exist $(JWASM_LIST_FILE_LOC)$^&.lst $(RM) $(JWASM_LIST_FILE_LOC)$^&.lst
    523523!endif
    524524!ifndef __MSDOS__
  • trunk/bootcode/version.inc

    r65 r68  
    6868
    6969; The Year, Month and Day in BCD so we can easily extract nibbles.
    70 AB_YEAR             EQU     2016h
    71 AB_MONTH            EQU     10h
    72 AB_DAY              EQU     10h
     70AB_YEAR             EQU     2017h
     71AB_MONTH            EQU     03h
     72AB_DAY              EQU     15h
    7373
    7474; The Hours, Minutes and Seconds, again in BCD for easy manipulation.
     
    7676;~ AB_MINUTES          EQU     01h
    7777;~ AB_SECONDS          EQU     01h
    78 AB_HOURS            EQU     99h
    79 AB_MINUTES          EQU     99h
    80 AB_SECONDS          EQU     99h
     78AB_HOURS            EQU     23h
     79AB_MINUTES          EQU     59h
     80AB_SECONDS          EQU     59h
    8181
    8282; The AiR-BOOT signature uses big-endian so we shuffle some bits around.
Note: See TracChangeset for help on using the changeset viewer.