mirror of
https://github.com/cc65/cc65.git
synced 2024-11-19 21:32:19 +00:00
c7874b9f60
- Update documentation. - Update atari.h and apple2.h header files. - Adapt Atari test/target programs. - Fix a typo in "div" entry in funcref.sgml.
20 lines
395 B
ArmAsm
20 lines
395 B
ArmAsm
;
|
|
; Christian Groessler, June-2016
|
|
;
|
|
; unsigned char doesclrscr(void);
|
|
;
|
|
; returns 0/1 if after program termination the screen isn't/is cleared
|
|
;
|
|
|
|
.export _doesclrscrafterexit
|
|
.import __dos_type
|
|
.include "atari.inc"
|
|
|
|
_doesclrscrafterexit:
|
|
ldx #0
|
|
lda __dos_type
|
|
cmp #MAX_DOS_WITH_CMDLINE + 1
|
|
txa
|
|
rol a
|
|
rts
|