get rid of compiled examples. Just compile them yourself...

This commit is contained in:
Irmen de Jong 2021-02-14 17:13:29 +01:00
parent 53f0318187
commit 2b870fb9f7
35 changed files with 10 additions and 29 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -1,6 +0,0 @@
#!/bin/sh
c1541 -format examples,01 d64 examples.d64
for filename in *.prg; do
c1541 examples.d64 -write $filename ${filename%.*}
done
c1541 examples.d64 -dir

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -1,9 +0,0 @@
These .prg files are the compiled versions of most of the examples.
They can be loaded and ran on a C64 or in an emulator, for example in Vice:
x64sc hello.prg
will load and run the hello example.
You can also attach the d64 disk image and load the examples from there.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -5,22 +5,18 @@ main {
sub start() {
uword ptr = $4000
uword ww
str text = "44"
uword textptr = &text
pokew($4000, $98cf)
ww = peekw($4000)
txt.print_uwhex(ww,1)
txt.nl()
ubyte nlen = conv.any2uword(textptr)
ubyte valid_operand = (nlen>0) and (@(textptr+nlen)==0)
pokew(ptr, $98cf)
ww = peekw(ptr)
txt.print_uwhex(ww,1)
txt.nl()
pokew(ptr+2, $1234)
ww = peekw(ptr+2)
txt.print_uwhex(ww,1)
txt.print("\nvalidoper? ")
txt.print_ub(valid_operand)
txt.print("\nnlen=")
txt.print_ub(nlen)
txt.print("\nr15=")
txt.print_uwhex(cx16.r15, true)
txt.nl()
}
}