mirror of
https://github.com/cc65/cc65.git
synced 2025-02-08 11:31:34 +00:00
move CHARGEN_RELOC enabling to Makefile.inc
This commit is contained in:
parent
37ed72bc89
commit
aa2167926a
@ -14,3 +14,20 @@
|
|||||||
# needs DEFAULT_DEVICE to be defined, otherwise no effect
|
# needs DEFAULT_DEVICE to be defined, otherwise no effect
|
||||||
|
|
||||||
CA65FLAGS += -D NUMDRVS=4 -D LINEBUF=80 -D UCASE_FILENAME=1 -D DEFAULT_DEVICE=1 -D DYNAMIC_DD=1
|
CA65FLAGS += -D NUMDRVS=4 -D LINEBUF=80 -D UCASE_FILENAME=1 -D DEFAULT_DEVICE=1 -D DYNAMIC_DD=1
|
||||||
|
|
||||||
|
# The following defines are only used by the 'atarixl' target:
|
||||||
|
#
|
||||||
|
# CHARGEN_RELOC - If defined, CHBAS and CHBASE are updated when
|
||||||
|
# enabling or disabling the ROM.
|
||||||
|
# If the ROM is enabled, $E0 is written to CHBAS
|
||||||
|
# and CHBASE.
|
||||||
|
# If the ROM is disabled, the upper byte of
|
||||||
|
# __CHARGEN_START__ is written to CHBAS and CHBASE.
|
||||||
|
# USEWSYNC - If defined, the code waits for horizontal retrace
|
||||||
|
# before switching the ROM and updating CHBAS and
|
||||||
|
# CHBASE. This define only has effect if CHARGEN_RELOC
|
||||||
|
# is also defined.
|
||||||
|
|
||||||
|
# Disabled by default, you should enable it if the linker script relocates the
|
||||||
|
# character generator (like atarixl-largehimem.cfg).
|
||||||
|
#CA65FLAGS += -D CHARGEN_RELOC -D USEWSYNC
|
||||||
|
@ -14,16 +14,12 @@
|
|||||||
; __CHARGEN_START__ is written to CHBAS and CHBASE.
|
; __CHARGEN_START__ is written to CHBAS and CHBASE.
|
||||||
; USEWSYNC: If defined, the code waits for horizontal retrace
|
; USEWSYNC: If defined, the code waits for horizontal retrace
|
||||||
; before switching the ROM and updating CHBAS and
|
; before switching the ROM and updating CHBAS and
|
||||||
; CHBASE. This define only has effect if CHAGEN_RELOC
|
; CHBASE. This define only has effect if CHARGEN_RELOC
|
||||||
; is also defined.
|
; is also defined.
|
||||||
|
|
||||||
|
|
||||||
.ifdef __ATARIXL__
|
.ifdef __ATARIXL__
|
||||||
|
|
||||||
USEWSYNC = 1
|
|
||||||
CHARGEN_RELOC = 1
|
|
||||||
|
|
||||||
|
|
||||||
.ifdef CHARGEN_RELOC
|
.ifdef CHARGEN_RELOC
|
||||||
|
|
||||||
.macro set_chbase val
|
.macro set_chbase val
|
||||||
|
Loading…
x
Reference in New Issue
Block a user