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
22 lines
491 B
ArmAsm
22 lines
491 B
ArmAsm
;
|
|
; 2026 cc65 project (added for PRINTER driver support, see grc65)
|
|
;
|
|
|
|
; char __fastcall__ StopPrint (char *tempBuf, char *workBuf);
|
|
|
|
.export _StopPrint
|
|
.import popax
|
|
|
|
.include "printdrv.inc"
|
|
.include "geossym.inc"
|
|
|
|
_StopPrint:
|
|
sta r1L ; workBuf -- passed in A/X (fastcall, pointer)
|
|
stx r1H
|
|
jsr popax ; tempBuf
|
|
sta r0L
|
|
stx r0H
|
|
jsr StopPrint
|
|
txa
|
|
rts
|