Skip to content

Commit

Permalink
++
Browse files Browse the repository at this point in the history
  • Loading branch information
lacanoid committed Jan 10, 2023
1 parent a6460ad commit 2e18748
Show file tree
Hide file tree
Showing 31 changed files with 46 additions and 53 deletions.
2 changes: 1 addition & 1 deletion boot/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ file listing isn't cluttered and `LOAD *` still works as expected.
By default the boot loader loads and runs file "*" which is the first file on the disk.
It can be useful tu use something like `kmon` here as a kind of shell.

$ c1541 my_disk_image.d81 -@ "b-a 8 1 0" -@ "b-a 8 1 1" -write tools/kmon -write tools/kmon.64 -write tools/kmon.128
$ c1541 my_disk_image.d81 -@ "b-a 8 1 0" -@ "b-a 8 1 1" -write tools/kmon -write tools/kmon64 -write tools/kmon128

## Booting the machine

Expand Down
Binary file removed c1541/!
Binary file not shown.
Binary file modified c1541/speedscript
Binary file not shown.
File renamed without changes.
File renamed without changes.
Binary file modified c1571/assembler
Binary file not shown.
File renamed without changes.
File renamed without changes.
Binary file modified cpm++.d81
Binary file not shown.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ c1541 $DISKIMG -write tools/patch64
c1541 $DISKIMG -write vdc64/vdc64
#c1541 $DISKIMG -write tools/patch128
#c1541 $DISKIMG -write vdc64/vdc128
c1541 $DISKIMG -write tools/kmon.64 -write tools/kmon.128
c1541 $DISKIMG -write tools/pip.64 -write tools/pip.128
c1541 $DISKIMG -write tools/kmon64 -write tools/kmon128
c1541 $DISKIMG -write tools/pip64 -write tools/pip128
c1541 $DISKIMG -write tools/sjload !
#c1541 $DISKIMG -write fifth/5th
#c1541 $DISKIMG -write fifth/imenu
Expand Down
2 changes: 1 addition & 1 deletion install_boot.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ DISKIMG=$1
c1541 $DISKIMG -bwrite boot/bootsect.128 1 0 -bwrite boot/autostart64.128 1 1
c1541 $DISKIMG -@ "b-a 8 1 0" -@ "b-a 8 1 1" -write tools/kmon
c1541 $DISKIMG -write c/setup -write c/config
c1541 $DISKIMG -write tools/kmon.64 -write tools/kmon.128
c1541 $DISKIMG -write tools/kmon64 -write tools/kmon128
c1541 $DISKIMG -write s/empty '================'
Binary file modified run64.d81
Binary file not shown.
14 changes: 11 additions & 3 deletions s/issue,s
Original file line number Diff line number Diff line change
@@ -1,6 +1,14 @@
You look like a million dollars. All green and wrinkled.
To be or not to be.
-- Shakespeare
To do is to be.
-- Nietzsche
To be is to do.
-- Sartre
Do be do be do.
-- Sinatra


Training is everything. The peach was once a bitter almond; cauliflower is
nothing but cabbage with a college education.
It is easy to find fault, if one has that disposition. There was once a man
who, not being able to find any other fault with his coal, complained that
there were too many prehistoric toads in it.
-- Mark Twain, "Pudd'nhead Wilson's Calendar"
50 changes: 25 additions & 25 deletions tools/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ CC := cl65
C1541 := c1541
X128 := x128

PROGRAMS := kmon.64 kmon.128 pip.64 pip.128 patch64 patch128 mtop sjload
PROGRAMS := kmon64 kmon128 pip64 pip128 patch64 patch128 mtop sjload
INCLUDES := ..

ifdef CC65_HOME
Expand All @@ -24,30 +24,30 @@ clean:
zap: clean
rm -rf *.dep

kmon.64: kmon.64.o
$(CC) $(LDFLAGS) -t c64 -C c64.cfg -u __EXEHDR__ -o kmon.64 kmon.64.o
kmon.64.o: kmon.s
$(AS) $(ASFLAGS) -t c64 -o kmon.64.o kmon.s

kmon.128: kmon.128.o
$(CC) $(LDFLAGS) -t c128 -C c128.cfg -o kmon.128 kmon.128.o
kmon.128.o: kmon.s
$(AS) $(ASFLAGS) -t c128 -o kmon.128.o kmon.s

kmon.16: kmon.16.o
$(CC) $(LDFLAGS) -t c16 -C c16.cfg -o kmon.16 kmon.16.o
kmon.16.o: kmon.s
$(AS) $(ASFLAGS) -t c16 -o kmon.16.o kmon.s

pip.64: pip.64.o
$(CC) $(LDFLAGS) -t c64 -C c64.cfg -u __EXEHDR__ -o pip.64 pip.64.o
pip.64.o: pip.s
$(AS) $(ASFLAGS) -t c64 -o pip.64.o pip.s

pip.128: pip.128.o
$(CC) $(LDFLAGS) -t c128 -C c128.cfg -o pip.128 pip.128.o
pip.128.o: pip.s
$(AS) $(ASFLAGS) -t c128 -o pip.128.o pip.s
kmon64: kmon64.o
$(CC) $(LDFLAGS) -t c64 -C c64.cfg -u __EXEHDR__ -o kmon64 kmon64.o
kmon64.o: kmon.s
$(AS) $(ASFLAGS) -t c64 -o kmon64.o kmon.s

kmon128: kmon128.o
$(CC) $(LDFLAGS) -t c128 -C c128.cfg -o kmon128 kmon128.o
kmon128.o: kmon.s
$(AS) $(ASFLAGS) -t c128 -o kmon128.o kmon.s

kmon16: kmon16.o
$(CC) $(LDFLAGS) -t c16 -C c16.cfg -o kmon16 kmon16.o
kmon16.o: kmon.s
$(AS) $(ASFLAGS) -t c16 -o kmon16.o kmon.s

pip64: pip64.o
$(CC) $(LDFLAGS) -t c64 -C c64.cfg -u __EXEHDR__ -o pip64 pip64.o
pip64.o: pip.s
$(AS) $(ASFLAGS) -t c64 -o pip64.o pip.s

pip128: pip128.o
$(CC) $(LDFLAGS) -t c128 -C c128.cfg -o pip128 pip128.o
pip128.o: pip.s
$(AS) $(ASFLAGS) -t c128 -o pip128.o pip.s

patch64: LDFLAGS += -t c64 -C c64.cfg -u __EXEHDR__
patch64: patch64.o
Expand Down
Binary file modified tools/kmon
Binary file not shown.
Binary file renamed tools/kmon.128 → tools/kmon128
Binary file not shown.
Binary file renamed tools/kmon.64 → tools/kmon64
Binary file not shown.
10 changes: 5 additions & 5 deletions tools/loader.s
Original file line number Diff line number Diff line change
Expand Up @@ -137,13 +137,13 @@ SNDMSG2:
MSGBAS2 =*
MSG2_1: .BYTE $0d,"?",$20+$80
.ifdef __C128__
TB_FNLEN: .byte 8
TB_FN: .byte "kmon.128",0
.res 6
.else
TB_FNLEN: .byte 7
TB_FN: .byte "kmon.64"
TB_FN: .byte "kmon128",0
.res 7
.else
TB_FNLEN: .byte 6
TB_FN: .byte "kmon64"
.res 8
.endif

; -----------------------------------------------------------------------------
Expand Down
Binary file modified tools/pip
Binary file not shown.
4 changes: 0 additions & 4 deletions tools/pip.128.dep

This file was deleted.

4 changes: 0 additions & 4 deletions tools/pip.dep

This file was deleted.

File renamed without changes.
File renamed without changes.
Binary file added tools/sjload
Binary file not shown.
9 changes: 1 addition & 8 deletions vdc64/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@ C1541 := c1541
X128 := x128

TIME := $(shell date +%y%m%d%H%M%S)
VOLNAME := run64 ${TIME},sy
PROGRAMS := vdc64 vdc128 raster
PROGRAMS := vdc64
INCLUDES := ..

ifdef CC65_HOME
Expand Down Expand Up @@ -34,10 +33,4 @@ zap: clean
vdc64: LDFLAGS += -t c64 -C c64-asm.cfg -u __EXEHDR__
vdc64: vdc64.o

vdc128: LDFLAGS += -t c128
vdc128: vdc128.o

raster: LDFLAGS += -t c64 -C c64-asm.cfg -u __EXEHDR__
raster: raster.o

-include *.dep

0 comments on commit 2e18748

Please sign in to comment.