New function toggle_videomode
git-svn-id: svn://svn.cc65.org/cc65/trunk@1980 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
@@ -95,6 +95,11 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
void toggle_videomode (void);
|
||||||
|
/* Toggle the video mode between 40 and 80 chars (calls SWAPPER) */
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/* End of c128.h */
|
/* End of c128.h */
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|||||||
@@ -42,7 +42,8 @@ OBJS = _scrsize.o \
|
|||||||
randomize.o \
|
randomize.o \
|
||||||
revers.o \
|
revers.o \
|
||||||
rs232.o \
|
rs232.o \
|
||||||
tgi_mode_table.o
|
tgi_mode_table.o \
|
||||||
|
toggle_videomode.o
|
||||||
|
|
||||||
#--------------------------------------------------------------------------
|
#--------------------------------------------------------------------------
|
||||||
# Drivers
|
# Drivers
|
||||||
|
|||||||
@@ -48,6 +48,7 @@ NEWLINE = $C363
|
|||||||
PRINT = $C322
|
PRINT = $C322
|
||||||
|
|
||||||
; Extended jump table
|
; Extended jump table
|
||||||
|
SWAPPER = $FF5F
|
||||||
SETBNK = $FF68
|
SETBNK = $FF68
|
||||||
|
|
||||||
; ---------------------------------------------------------------------------
|
; ---------------------------------------------------------------------------
|
||||||
|
|||||||
13
libsrc/c128/toggle_videomode.s
Normal file
13
libsrc/c128/toggle_videomode.s
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
;
|
||||||
|
; Ullrich von Bassewitz, 2003-02-13
|
||||||
|
;
|
||||||
|
; void toggle_videomode (void);
|
||||||
|
; /* Toggle the video mode between 40 and 80 chars (calls SWAPPER) */
|
||||||
|
;
|
||||||
|
|
||||||
|
.export _toggle_videomode
|
||||||
|
|
||||||
|
.include "c128.inc"
|
||||||
|
|
||||||
|
_toggle_videomode = SWAPPER
|
||||||
|
|
||||||
Reference in New Issue
Block a user