1
0
mirror of https://github.com/cc65/cc65.git synced 2024-12-26 08:32:00 +00:00
cc65/libsrc/c128/toggle_videomode.s
uz 80fc3a0b48 Replaced the condition for the assertion in toggle_videomode by something that
is still always false, but will be evaluated by the linker instead of the
assembler. The assembler will otherwise emit a warning when just translating
the module.


git-svn-id: svn://svn.cc65.org/cc65/trunk@4190 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-09-18 17:39:23 +00:00

24 lines
519 B
ArmAsm

;
; Ullrich von Bassewitz, 2003-02-13
;
; void toggle_videomode (void);
; /* Toggle the video mode between 40 and 80 chars (calls SWAPPER) */
;
.export _toggle_videomode
.import SWAPPER, BSOUT
; This function is deprecated
.assert * < 0, warning, "toggle_videomode() is deprecated, please use videomode() instead!"
.proc _toggle_videomode
jsr SWAPPER ; Toggle the mode
lda #14
jmp BSOUT ; Switch to lower case chars
.endproc