mirror of
https://github.com/cc65/cc65.git
synced 2026-04-21 09:17:52 +00:00
Removed (pretty inconsistently used) tab chars from source code base.
This commit is contained in:
@@ -12,7 +12,7 @@ extern char _defdev[];
|
||||
|
||||
int main(void)
|
||||
{
|
||||
printf("default device: %s\n", _defdev);
|
||||
if (_dos_type != SPARTADOS && _dos_type != OSADOS) cgetc();
|
||||
return 0;
|
||||
printf("default device: %s\n", _defdev);
|
||||
if (_dos_type != SPARTADOS && _dos_type != OSADOS) cgetc();
|
||||
return 0;
|
||||
}
|
||||
|
||||
@@ -3,56 +3,56 @@
|
||||
; scrcode macro test
|
||||
;
|
||||
; compile with
|
||||
; ca65 -I../../../asminc -tatari -o scrcode.o scrcode.s
|
||||
; ld65 -tatari -o scrcode.com scrcode.o
|
||||
; ca65 -I../../../asminc -tatari -o scrcode.o scrcode.s
|
||||
; ld65 -tatari -o scrcode.com scrcode.o
|
||||
|
||||
.import __CODE_LOAD__, __BSS_LOAD__
|
||||
.import __CODE_LOAD__, __BSS_LOAD__
|
||||
|
||||
.include "atari.inc"
|
||||
.macpack atari
|
||||
.include "atari.inc"
|
||||
.macpack atari
|
||||
|
||||
.code
|
||||
|
||||
rts ; SpartaDOS workaround
|
||||
rts ; SpartaDOS workaround
|
||||
|
||||
; entry point
|
||||
|
||||
lda #0
|
||||
tay
|
||||
tax
|
||||
lda #0
|
||||
tay
|
||||
tax
|
||||
|
||||
; display dispdata
|
||||
|
||||
disp: lda dispdata,x
|
||||
sta (SAVMSC),y
|
||||
inx
|
||||
iny
|
||||
cpx #disp_len
|
||||
bne disp
|
||||
disp: lda dispdata,x
|
||||
sta (SAVMSC),y
|
||||
inx
|
||||
iny
|
||||
cpx #disp_len
|
||||
bne disp
|
||||
|
||||
; wait for key press
|
||||
|
||||
key: lda CH
|
||||
cmp #255
|
||||
beq key
|
||||
key: lda CH
|
||||
cmp #255
|
||||
beq key
|
||||
|
||||
rts
|
||||
rts
|
||||
|
||||
.data
|
||||
|
||||
dispdata: scrcode "fooBa", 'r', $66, 3+4
|
||||
disp_len = * - dispdata
|
||||
dispdata: scrcode "fooBa", 'r', $66, 3+4
|
||||
disp_len = * - dispdata
|
||||
|
||||
.segment "AUTOSTRT"
|
||||
.segment "AUTOSTRT"
|
||||
|
||||
.word $02E0
|
||||
.word $02E1
|
||||
.word __CODE_LOAD__+1
|
||||
.word $02E0
|
||||
.word $02E1
|
||||
.word __CODE_LOAD__+1
|
||||
|
||||
.segment "EXEHDR"
|
||||
.segment "EXEHDR"
|
||||
|
||||
.word $FFFF
|
||||
.word __CODE_LOAD__
|
||||
.word __BSS_LOAD__ - 1
|
||||
.word $FFFF
|
||||
.word __CODE_LOAD__
|
||||
.word __BSS_LOAD__ - 1
|
||||
|
||||
.end
|
||||
|
||||
Reference in New Issue
Block a user