skiselev / 8088_bios

BIOS for Intel 8088 based computers
GNU General Public License v3.0
513 stars 61 forks source link

Compilation error for MACHINE=MACHINE_XI8088 #27

Closed maxgvz closed 1 year ago

maxgvz commented 1 year ago

Makefile

# Target machine type is defined below
# Xi 8088 Board
MACHINE=MACHINE_XI8088

# Flash ROM IC type (as supported by minipro programmer)
FLASH_ROM=SST39SF010A

$ gmake
nasm -DMACHINE_XI8088 -O9 -f bin -o bios.bin -l bios.lst bios.asm
bios.asm:625: warning: Inserting 13892 bytes [-w+user]
bios.asm:1129: warning: Inserting 27 bytes [-w+user]
bios.asm:1196: warning: Inserting 919 bytes [-w+user]
serial2.inc:1298: warning: Inserting 42 bytes [-w+user]
keyboard.inc:1330: warning: Inserting 10 bytes [-w+user]
keyboard.inc:1520: warning: Inserting 153 bytes [-w+user]
floppy2.inc:1344: warning: Inserting 105 bytes [-w+user]
floppy2.inc:1848: warning: Inserting 5 bytes [-w+user]
floppy2.inc:1907: warning: Inserting 10 bytes [-w+user]
video.inc:1312: warning: Inserting 4 bytes [-w+user]
video.inc:1419: warning: Inserting 3 bytes [-w+user]
bios.asm:1324: warning: Inserting 96 bytes [-w+user]
**fnt00-7F.inc:1686: error: Preceding code extends beyond setloc location by 3 bytes
time2.inc:1695: error: Preceding code extends beyond setloc location by 3 bytes**
time2.inc:1731: warning: Inserting 5 bytes [-w+user]
bios.asm:1668: warning: Inserting 42 bytes [-w+user]
bios.asm:1698: warning: Inserting 7 bytes [-w+user]
bios.asm:1817: warning: Inserting 7 bytes [-w+user]
gmake: *** [Makefile:53: bios.bin] Error 1

Got this error on Debian and FreeBSD as well.

skiselev commented 1 year ago

Thanks for testing and reporting. Should be fixed now :)

maxgvz commented 1 year ago

Thanks you, Sergii for this great project