.org 0x00
romheader:
.word 0xAA55 /* BIOS extension signature */
-romheader_size: .byte _rom_size /* Size in 512-byte blocks */
+romheader_size: .byte _load_size_sect /* Size in 512-byte blocks */
jmp init_vector /* Initialisation vector */
.org 0x16
.word undiheader
.byte 0x02 /* Device Base Type code */
.byte 0x00 /* Device Sub-Type code */
.byte 0x00 /* Device Interface Type code */
-pciheader_size: .word _rom_size /* Image length same as offset 02h */
+pciheader_size: .word _load_size_sect /* Image length same as offset 02h */
.word 0x0001 /* revision level of code/data */
.byte 0x00 /* code type */
.byte 0x80 /* Flags (last PCI data structure) */
_text16_size_pgh = ( ( _text16_size + 15 ) / 16 );
_data16_size_pgh = ( ( _data16_size + 15 ) / 16 );
_load_size_pgh = ( ( _load_size + 15 ) / 16 );
- _rom_size = ( ( _load_size + 511 ) / 512 );
+ _load_size_sect = ( ( _load_size + 511 ) / 512 );
}
_text16_size_pgh = ( ( _text16_size + 15 ) / 16 );
_data16_size_pgh = ( ( _data16_size + 15 ) / 16 );
_load_size_pgh = ( ( _load_size + 15 ) / 16 );
- _rom_size = ( ( _load_size + 511 ) / 512 );
+ _load_size_sect = ( ( _load_size + 511 ) / 512 );
}