KarolS / millfork

Millfork: a middle-level programming language targeting 6502- and Z80-based microcomputers and home consoles
https://karols.github.io/millfork/
GNU General Public License v3.0
252 stars 21 forks source link

Adding support for more targets #1

Open KarolS opened 5 years ago

KarolS commented 5 years ago

The following targets should work after creating platform definitions and minimal libraries:

The following targets should also work, but will require compiler improvements before being usable:

Require 24-bit 65816 support:

The following targets have been implemented since the creation of this issue:

JettMonstersGoBoom commented 5 years ago

Started messing with support for Pacman Arcade machine. https://twitter.com/MonstersGo/status/1146550790657585162

code here https://gist.github.com/Nullious/82f4d299758d2780be4162b281118b0a

still wip.

Kroc commented 5 years ago

What about Amstrad PCW?

KarolS commented 5 years ago

@Kroc If you're interested in CP/M-based software for PCW, it should work as-is with the cpm_z80 target. The cpm module is currently very bare-bones, but adding missing syscalls or system-specific hardware accesses shouldn't be hard. I haven't added any CP/M-focused machines to the list, as running CP/M makes them pretty much identical targets from the compiler standpoint.

As for standalone PCW programs, sure, that could be done as its own target. However this would require implementing the PCW disk format, as you no longer have an OS to handle that for you. Similar how PC-88 works right now.

JettMonstersGoBoom commented 5 years ago

https://twitter.com/MonstersGo/status/1161065704847790080?s=19 got Alien Rescue working on Sega Master System. ( There's also a C64 version ) Thank you , without Millfork this wouldn't be doable.

JettMonstersGoBoom commented 5 years ago

Atari Lynx is here https://github.com/Nullious/millfork_lynx + demo includes sprite and input

JettMonstersGoBoom commented 5 years ago

Shall I make a pull request for this ^^ ?

KarolS commented 5 years ago

@Nullious That would be great. Can you add some examples with it?

JettMonstersGoBoom commented 4 years ago

https://github.com/MonstersGoBoom/Millfork-Platforms I've started collecting my additional platform examples into this repository. SMS and MSX1 is pretty good as is. other platforms are W.I.P.

james7780 commented 3 years ago

A Spectravideo 318/328 target would be nice. And should be easy to create from the MSX platform files as it is very similar.

SplitSpine commented 2 years ago

I made platform target for the C256 Foenix (65816 cpu), can only use the first 64k of RAM, so not very useful yet. https://github.com/SplitSpine/Millfork-C256Foenix

cdoty commented 2 years ago

I added an example of using Millfork with the Mattel Aquarius to create a cassette and cartridge. https://github.com/cdoty/Aquarius-Millfork