mirror of
https://github.com/mgcaret/of816.git
synced 2025-08-08 12:25:10 +00:00
keep up with GoSXB
This commit is contained in:
3
.gitignore
vendored
3
.gitignore
vendored
@@ -21,4 +21,7 @@ ofw/out
|
|||||||
platforms/GoSXB/romfs_files/bench
|
platforms/GoSXB/romfs_files/bench
|
||||||
platforms/GoSXB/romfs_files/of.fs
|
platforms/GoSXB/romfs_files/of.fs
|
||||||
compactflash.img
|
compactflash.img
|
||||||
|
*.debuginfo
|
||||||
|
*.symbols
|
||||||
|
.luarc.json
|
||||||
|
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
bus.attach(bus.device("main_ram"), 0, 24)
|
bus.attach(bus.device("main_ram"), 0, 24)
|
||||||
bus.attach(bus.device("via2", emulator), 0x7FE0, 5)
|
bus.attach(bus.device("via2"), 0x7FE0, 5)
|
||||||
local srom, srombits = bus.device("rom", "smallrom")
|
local srom, srombits = bus.device("rom", "smallrom")
|
||||||
bus.attach(srom, 0x8000, srombits)
|
bus.attach(srom, 0x8000, srombits)
|
||||||
local from, frombits = bus.device("rom", "forth")
|
local from, frombits = bus.device("rom", "forth")
|
||||||
|
3
platforms/GoSXB/unit_test.lua
Normal file
3
platforms/GoSXB/unit_test.lua
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
---@version 5.1
|
||||||
|
module("unit_test", package.seeall)
|
||||||
|
|
@@ -5,6 +5,6 @@ toke fcode/romloader.fs
|
|||||||
ruby mkromfs.rb romfs fs/*
|
ruby mkromfs.rb romfs fs/*
|
||||||
ca65 -I ../../inc W65C816SXB.s -l W65C816SXB.lst
|
ca65 -I ../../inc W65C816SXB.s -l W65C816SXB.lst
|
||||||
../../build.sh W65C816SXB
|
../../build.sh W65C816SXB
|
||||||
ld65 -vm -C W65C816SXB.l -S 0x8000 W65C816SXB.o ../../forth.o -m forth.map -o forth
|
ld65 -vm -C W65C816SXB.l -S 0x8000 W65C816SXB.o ../../forth.o -m forth.map -Ln forth.symbols -o forth
|
||||||
ls -l forth
|
ls -l forth
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user