Commit Graph

27 Commits

Author SHA1 Message Date
Ry
5c94905a98 bindings: Mostly finish fox32os bindings 2023-02-08 16:25:13 -08:00
Ry
435ea9f698 rv2fox: *Properly* understand .byte and .half directives 2023-02-07 22:26:07 -08:00
Ry
55edd58557 rv2fox: Adjust data directives' integers to fit the needs to fox32asm 2023-02-07 22:25:34 -08:00
Ry
81b2ea3c98 rv2fox: Understand beq and beqz 2023-02-07 22:13:28 -08:00
Ry
ff08e5569c rv2fox: Attempt to adjust data directives as labels 2023-02-07 21:37:52 -08:00
Ry
6433fe0728 rv2fox: Understand or 2023-02-07 21:36:19 -08:00
Ry
73ed5a5fce rv2fox: Understand .byte and .4byte directives 2023-02-07 21:34:39 -08:00
Ry
7965ead639 bindings: More bindings 2023-02-07 18:45:19 -08:00
Ry
7f6ccfc7f1 rv2fox: Understand bgt and bgtu 2023-02-07 18:44:42 -08:00
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
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
ad1f64ea98 gcc: Import from the demos repo 2023-02-03 17:53:38 -08:00