Commit Graph

27 Commits

Author SHA1 Message Date
Ry
259f524fd1 bindings: Hack which allows returning multiple values
This really needs to be done better.
2023-02-07 18:17:07 -08:00
Ry
6a790fc1e4 gcc: Use register r31 to call routines instead of r10 2023-02-07 18:13:39 -08:00
Ry
73651a0a1b rv2fox: If using the zero register, use immediate 0 instead 2023-02-07 18:13:01 -08:00
Ry
251ae31537 bindings: Add save_state_and_yield_task and use char* for strings 2023-02-07 16:35:36 -08:00
Ry
05e820fabb bindings: Add more bindings 2023-02-07 01:47:29 -08:00
Ry
39fb4354a5 rv2fox: Use rfp as the temporary register instead of r0 2023-02-07 01:20:24 -08:00
Ry
273fac125f rv2fox: Map all registers 2023-02-07 01:04:10 -08:00
Ry
4c11013af0 rv2fox: Understand sh, lh, lhu, sb, lb, lbu 2023-02-07 00:58:39 -08:00
Ry
8b5d547107 rv2fox: Understand .zero directive 2023-02-07 00:47:03 -08:00
Ry
eec12a9e9a gcc: Implement ROM/OS calls
Co-authored-by: Lua MacDougall <lua@foxgirl.dev>
2023-02-06 19:50:50 -08:00
Ry
04aeba8eb0
Merge pull request #2 from leap0x7b/rv2fox
rv2fox improvements
2023-02-06 16:26:47 -08:00
leap123
71324b8898 fix 2023-02-06 17:31:56 +07:00
leap123
135b20a309 rv2fox improvements 2023-02-06 17:29:21 +07:00
Ry
01b649dda1 rv2fox: Basic support for .set directives 2023-02-05 17:39:42 -08:00
Ry
2d5d7fd39a rv2fox: Adjust labels used in rta instructions 2023-02-05 17:39:02 -08:00
Ry
b779853772 rv2fox: Support .string directive 2023-02-05 17:10:24 -08:00
Ry
f5ad080bac rv2fox: Support for emitting rta instructions 2023-02-05 16:59:47 -08:00
Ry
fd6b39c0b7 rv2fox: Implement support for x0-x31 registers 2023-02-05 16:42:17 -08:00
Ry
a8e199a763 readme: Fix typo 2023-02-03 18:01:45 -08:00
Ry
ec25f46187 Add README 2023-02-03 17:57:56 -08:00
Ry
ad1f64ea98 gcc: Import from the demos repo 2023-02-03 17:53:38 -08:00
Ry
b334cdeb3d Add new instructions and fix typo 2023-01-23 18:06:16 -08:00
Ry
24f056cdf0
Merge pull request #1 from neuschaefer/main
Add GitHub Actions config
2023-01-20 15:08:50 -08:00
jn
85831c9a88 Add GitHub Actions config
In order to build fox32os in CI, it's useful to have gfx2inc prebuilt.
2023-01-20 14:37:33 +01:00
Ry
55ccf1fac7 Add vim syntax highlighter 2022-08-09 18:13:49 -07:00
Ry
ee924baa56 Add gfx2inc 2022-06-25 18:05:10 -07:00
Ry
c443aff84c Initial commit 2022-06-25 17:14:13 -07:00