Changed __BLOCKSIZE__ to __BANK0BLOCKSIZE__.

Added __BANK1BLOCKSIZE__ which defaults to 0.
This commit is contained in:
Alex Thissen
2016-09-11 22:26:52 +02:00
parent e786d1cf49
commit ef7e9db116
7 changed files with 19 additions and 14 deletions

View File

@@ -3,7 +3,8 @@
;
; This header contains data for emulators like Handy and Mednafen
;
.import __BLOCKSIZE__
.import __BANK0BLOCKSIZE__
.import __BANK1BLOCKSIZE__
.export __EXEHDR__: absolute = 1
@@ -11,8 +12,8 @@
; EXE header
.segment "EXEHDR"
.byte 'L','Y','N','X' ; magic
.word __BLOCKSIZE__ ; bank 0 page size
.word 0 ; bank 1 page size
.word __BANK0BLOCKSIZE__ ; bank 0 page size
.word __BANK1BLOCKSIZE__ ; bank 1 page size
.word 1 ; version number
.asciiz "Cart name " ; 32 bytes cart name
.asciiz "Manufacturer " ; 16 bytes manufacturer