kolibrios/kernel/branches/Kolibri-A/trunk/bootloader/bios-bev/STEP1.ASM
Artem Jerdev (art_zh) b718363009 VHDL code generator for PCI BIOS extension ROMs
git-svn-id: svn://kolibrios.org@6442 a494cfbc-eb01-0410-851d-a64ba20cac60
2016-06-07 15:14:38 +00:00

31 lines
493 B
NASM

; file 'pcirom.bin':0,0x49
file 'pcirom.bin'
db 13,10
line = '0'
block = 0
repeat 7
db 'INIT_0',line,' => X"'
repeat 32
pos = 32-%
load a byte from pos+block
b = a mod 16
if b<10
c = b + '0'
else
c = b-10+'A'
end if
b = a / 16
if b<10
d = b + '0'
else
d = b-10+'A'
end if
db d, c
end repeat
db '",',13,10
block = block + 32
line = line + 1
end repeat