Skip to content

Commit 1b420f7

Browse files
authored
Add a preliminary external custom target for the Foenix F256 family of modern retro computers. (#171)
1 parent 6a9a82f commit 1b420f7

File tree

9 files changed

+1503
-6
lines changed

9 files changed

+1503
-6
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ What does Prog8 provide?
9696
- "c64": Commodore-64 (6502 like CPU)
9797
- "c128": Commodore-128 (6502 like CPU - the Z80 cpu mode is not supported)
9898
- "pet32": Commodore PET (limited support)
99-
- via external configurable targets: Atari 800 XL, Neo6502, NES, C64OS, ...
99+
- via external configurable targets: Atari 800 XL, Neo6502, NES, C64 OS, Foenix F256, ...
100100
- If you only use standard kernal and prog8 library routines, it is possible to compile the *exact same program* for different machines (just change the compiler target flag)
101101

102102

docs/source/index.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ You can compile programs for various machines that are built in into the compile
2727
* Commodore 128 (limited support)
2828
* Commodore PET (limited support)
2929
* any other 65(C)02 target machine or setup can be configured to a great extent in a user written configuration file.
30-
There are some examples included for the Atari 800 XL, NEO6502 and such.
31-
* some users have been experimenting with a NES and a C64OS target as well.
30+
There are some examples included for the Atari 800 XL, NEO6502, Foenix F256, and such.
31+
* some users have been experimenting with a NES and a C64 OS target as well.
3232

3333
Some language features are mentioned below, and you can also read :ref:`comparingprog8` if you
3434
want to quickly read about how Prog8 compares to well-known other languages.

docs/source/libraries.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1032,6 +1032,7 @@ sys (part of syslib)
10321032
- 7 = Neo6502
10331033
- 8 = Atari 8 bits
10341034
- 16 = Commander X16
1035+
- 25 = Foenix F256 family
10351036
- 64 = Commodore 64
10361037
- 128 = Commodore 128
10371038
- 255 = Virtual machine

examples/customtarget/Makefile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
.PHONY: all clean
22

3-
all: main-c64.prg main-cx16.prg main-pet.prg atari-hello.xex atari-fibonacci.xex neo-hello.bin
3+
all: main-c64.prg main-cx16.prg main-pet.prg atari-hello.xex atari-fibonacci.xex neo-hello.bin f256-hello.bin
44

55
clean:
66
rm -f *.prg *.PRG *.xex *.bin *.asm *.vice-*
@@ -26,6 +26,9 @@ atari-fibonacci.xex: src/atari-fibonacci.p8
2626
neo-hello.bin: src/neo-hello.p8
2727
prog8c -target targetconfigs/neo6502.properties src/neo-hello.p8
2828

29+
f256-hello.bin: src/f256-hello.p8
30+
prog8c -target targetconfigs/f256.properties src/f256-hello.p8
31+
2932
run-atari-hello:
3033
prog8c -target targetconfigs/atari.properties src/atari-hello.p8 -emu
3134

0 commit comments

Comments
 (0)