mirror of
https://github.com/a2stuff/prodos-drivers.git
synced 2025-01-23 12:32:13 +00:00
Clean up headers
This commit is contained in:
parent
64c8ff73e3
commit
783c2af304
6
Makefile
6
Makefile
@ -4,6 +4,8 @@ LDFLAGS = --config apple2-asm.cfg
|
||||
|
||||
OUTDIR = out
|
||||
|
||||
HEADERS = $(wildcard *.inc) $(wildcard inc/*.inc)
|
||||
|
||||
TARGETS = \
|
||||
$(OUTDIR)/prodos.mod.BIN \
|
||||
$(OUTDIR)/ns.clock.system.SYS \
|
||||
@ -25,15 +27,11 @@ all: $(OUTDIR) $(TARGETS)
|
||||
$(OUTDIR):
|
||||
mkdir -p $(OUTDIR)
|
||||
|
||||
HEADERS = $(wildcard *.inc) $(wildcard inc/*.inc)
|
||||
|
||||
clean:
|
||||
rm -f $(OUTDIR)/*.o
|
||||
rm -f $(OUTDIR)/*.list
|
||||
rm -f $(OUTDIR)/$(TARGETS)
|
||||
|
||||
|
||||
|
||||
$(OUTDIR)/%.o: %.s $(HEADERS)
|
||||
ca65 $(CAFLAGS) $(DEFINES) --listing $(basename $@).list -o $@ $<
|
||||
|
||||
|
@ -97,7 +97,7 @@ init_ssc:
|
||||
|
||||
: jsr readbyte
|
||||
bcs cricket_not_found ; timeout
|
||||
cmp #HI(CR) ; = CR ?
|
||||
cmp #HI($0D) ; = CR ?
|
||||
beq cricket_found
|
||||
digit: cmp #HI('0') ; < '0' ?
|
||||
bcc cricket_not_found
|
||||
|
@ -4,20 +4,6 @@
|
||||
;;;
|
||||
;;; ============================================================
|
||||
|
||||
;;; ============================================================
|
||||
;;; ASCII
|
||||
;;; ============================================================
|
||||
|
||||
BELL := $07
|
||||
BS := $08
|
||||
CR := $0D
|
||||
|
||||
;;; ============================================================
|
||||
;;; Constants
|
||||
;;; ============================================================
|
||||
|
||||
MAX_DW := $FFFF
|
||||
|
||||
;;; ============================================================
|
||||
;;; Soft Switches
|
||||
;;; ============================================================
|
||||
|
@ -39,7 +39,7 @@
|
||||
loop: lda INPUT_BUFFER,x
|
||||
jsr sendbyte
|
||||
inx
|
||||
cmp #HI(CR)
|
||||
cmp #HI($0D) ; = CR
|
||||
bne loop
|
||||
|
||||
rts
|
||||
|
@ -39,7 +39,7 @@
|
||||
loop: lda INPUT_BUFFER,x
|
||||
jsr sendbyte
|
||||
inx
|
||||
cmp #HI(CR)
|
||||
cmp #HI($0D) ; = CR
|
||||
bne loop
|
||||
|
||||
rts
|
||||
|
Loading…
x
Reference in New Issue
Block a user