1
0
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:
Christian Groessler
2014-01-17 20:08:41 +01:00
parent 2e44abf928
commit 40e49074a4
2 changed files with 8 additions and 5 deletions
+3 -1
View File
@@ -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__