mirror of
https://github.com/cc65/cc65.git
synced 2026-04-25 06:17:58 +00:00
add support for 16K cartridges
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
|
||||
.ifndef __ATARIXL__
|
||||
|
||||
.import __CARTFLAGS__, cartinit, cartstart
|
||||
.import __CARTSIZE__, __CARTFLAGS__, cartinit, cartstart
|
||||
.export __CART_HEADER__: absolute = 1
|
||||
|
||||
.include "atari.inc"
|
||||
@@ -17,4 +17,6 @@
|
||||
.byte <__CARTFLAGS__
|
||||
.word cartinit ; init routine
|
||||
|
||||
.assert (__CARTSIZE__ = $2000 || __CARTSIZE__ = $4000), error, "Cartridge size must either be $2000 or $4000"
|
||||
|
||||
.endif ; .ifndef __ATARIXL__
|
||||
|
||||
Reference in New Issue
Block a user