mirror of
https://github.com/irmen/prog8.git
synced 2024-11-22 15:33:02 +00:00
get rid of compiled examples. Just compile them yourself...
This commit is contained in:
parent
53f0318187
commit
2b870fb9f7
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.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -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.
@ -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.
@ -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()
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user