This provides support for creating printer drivers for C64/C128 GEOS. GEOSLib is also updated with the necessary support for printing from GEOS applications. A skeleton sample is provided. A new target is created: geos-c-prn
18 lines
380 B
ArmAsm
18 lines
380 B
ArmAsm
;
|
|
; 2026 cc65 project (added for PRINTER driver support, see grc65)
|
|
;
|
|
|
|
; char __fastcall__ StartPrint (char *workBuf);
|
|
|
|
.export _StartPrint
|
|
|
|
.include "printdrv.inc"
|
|
.include "geossym.inc"
|
|
|
|
_StartPrint:
|
|
sta r1L ; workBuf -- passed in A/X (fastcall, pointer)
|
|
stx r1H
|
|
jsr StartPrint
|
|
txa
|
|
rts
|