mirror of
https://github.com/KarolS/millfork.git
synced 2024-12-25 21:29:25 +00:00
0ca1be0c00
– changed `inline` to `macro` – added support for parameters for macros written in Millfork – added `inline`, `noinline`, `register` hints – added <<<< operator – pointer dereference expressions are now supported more widely – C64 library fixes – added `-O1` command line option as an alias for `-O`
41 lines
627 B
Plaintext
41 lines
627 B
Plaintext
import c64_vic
|
|
import c64_sid
|
|
import c64_cia
|
|
import cpu6510
|
|
|
|
array c64_color_ram [1000] @$D800
|
|
|
|
macro void c64_ram_only() {
|
|
cpu6510_ddr = 7
|
|
cpu6510_port = 0
|
|
}
|
|
|
|
macro void c64_ram_io() {
|
|
cpu6510_ddr = 7
|
|
cpu6510_port = 5
|
|
}
|
|
|
|
macro void c64_ram_io_kernal() {
|
|
cpu6510_ddr = 7
|
|
cpu6510_port = 6
|
|
}
|
|
|
|
macro void c64_ram_io_basic() {
|
|
cpu6510_ddr = 7
|
|
cpu6510_port = 7
|
|
}
|
|
|
|
macro void c64_ram_charset() {
|
|
cpu6510_ddr = 7
|
|
cpu6510_port = 1
|
|
}
|
|
|
|
macro void c64_ram_charset_kernal() {
|
|
cpu6510_ddr = 7
|
|
cpu6510_port = 2
|
|
}
|
|
|
|
macro void c64_ram_charset_basic() {
|
|
cpu6510_ddr = 7
|
|
cpu6510_port = 3
|
|
} |