Changeset 239 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS/Src/Main.asm


Ignore:
Timestamp:
Feb 5, 2012, 5:06:58 PM (12 years ago)
Author:
gregli@…
google:author:
gregli@hotmail.com
Message:

Passing ROMSIZE into main.asm to calculate number of 512B blocks for option ROM header, added checksum calculations for large images.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/XTIDE_Universal_BIOS/Src/Main.asm

    r238 r239  
    3939
    4040; ROM variables (must start at offset 0)
    41 CNT_ROM_BLOCKS      EQU     16  ; 16 * 512B = 8kB BIOS
     41CNT_ROM_BLOCKS      EQU     ROMSIZE / 512       ; number of 512B blocks, 16 = 8kB BIOS
    4242istruc ROMVARS
    4343    at  ROMVARS.wRomSign,   dw  0AA55h          ; PC ROM signature
Note: See TracChangeset for help on using the changeset viewer.