New function toggle_videomode

git-svn-id: svn://svn.cc65.org/cc65/trunk@1980 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
cuz 2003-02-13 21:12:11 +00:00
parent c6cf5d7fd9
commit 85f51dc89a
4 changed files with 37 additions and 17 deletions

View File

@ -95,6 +95,11 @@
void toggle_videomode (void);
/* Toggle the video mode between 40 and 80 chars (calls SWAPPER) */
/* End of c128.h */
#endif

View File

@ -26,23 +26,24 @@
#--------------------------------------------------------------------------
# Object files
OBJS = _scrsize.o \
break.o \
cgetc.o \
clrscr.o \
conio.o \
crt0.o \
color.o \
cputc.o \
get_tv.o \
joy_stddrv.o \
kbhit.o \
kernal.o \
mouse.o \
randomize.o \
revers.o \
rs232.o \
tgi_mode_table.o
OBJS = _scrsize.o \
break.o \
cgetc.o \
clrscr.o \
conio.o \
crt0.o \
color.o \
cputc.o \
get_tv.o \
joy_stddrv.o \
kbhit.o \
kernal.o \
mouse.o \
randomize.o \
revers.o \
rs232.o \
tgi_mode_table.o \
toggle_videomode.o
#--------------------------------------------------------------------------
# Drivers

View File

@ -48,6 +48,7 @@ NEWLINE = $C363
PRINT = $C322
; Extended jump table
SWAPPER = $FF5F
SETBNK = $FF68
; ---------------------------------------------------------------------------

View 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