Initial Agat support
This commit is contained in:
19
libsrc/agat/wherex.s
Normal file
19
libsrc/agat/wherex.s
Normal file
@@ -0,0 +1,19 @@
|
||||
;
|
||||
; Kevin Ruland
|
||||
; Oleg A. Odintsov, Moscow, 2024
|
||||
;
|
||||
; unsigned char wherex (void);
|
||||
;
|
||||
|
||||
.export _wherex
|
||||
|
||||
.include "agat.inc"
|
||||
|
||||
_wherex:
|
||||
lda CH
|
||||
bit TATTR
|
||||
bmi t64
|
||||
lsr
|
||||
t64:
|
||||
ldx #$00
|
||||
rts
|
||||
Reference in New Issue
Block a user