]> git.sur5r.net Git - cc65/blobdiff - libsrc/apple2/tgi_mode_table.s
Testcode for strtol and atoi.
[cc65] / libsrc / apple2 / tgi_mode_table.s
index 00bd0ecc4169727029210981402b9745888aa0ae..e347716f3fbd52abf008aebfd94b1ca4ee4e0099 100644 (file)
@@ -4,20 +4,25 @@
 ; Apple II mode table for tgi_map_mode
 ;
 
-       .export         _tgi_mode_table
+        .export                _tgi_mode_table
 
-       .include        "tgi-mode.inc"
+        .include       "tgi-mode.inc"
 
 ;----------------------------------------------------------------------------
 ; Mode table. Contains entries of mode and driver name, the driver name being
-; null terminated. A mode with code zero terminates the list.
+; null terminated. A mode with code zero terminates the list. The first entry
+; defines also the default mode and driver for the system.
 ; BEWARE: The current implementation of tgi_map_mode does not work with tables
 ; larger that 255 bytes!
 
-.rodata
+       .rodata
 
 _tgi_mode_table:
-       .byte   TGI_MODE_280_192_6, "A2.HI.TGI", 0
-       .byte   TGI_MODE_40_40_16,  "A2.LO.TGI", 0
-;      .byte   TGI_MODE_560_192_2, "A2.DHI.TGI", 0
-       .byte   0       ; End marker
+        .ifdef __APPLE2ENH__
+        .byte   TGI_MODE_280_192_8, "A2E.HI.TGI", 0
+        .byte   TGI_MODE_40_48_16,  "A2E.LO.TGI", 0
+        .else
+        .byte   TGI_MODE_280_192_8, "A2.HI.TGI", 0
+        .byte   TGI_MODE_40_48_16,  "A2.LO.TGI", 0
+        .endif
+        .byte   0              ; End marker