Ry
bec78c9a10
Add support for a "romdisk"
2023-03-04 21:23:14 -08:00
jn
34589e501f
Make use of data.strz
...
The ROM is the same before and after this commit:
$ sha256sum fox32-orig.rom fox32.rom
75b169dafbf7dc77cd114f7d05d9c1e8459122bc2bd4178a90aba6fd8dc7372e fox32-orig.rom
75b169dafbf7dc77cd114f7d05d9c1e8459122bc2bd4178a90aba6fd8dc7372e fox32.rom
The conversion was performed with a few sed commands and manually
unrolled in monitor/keyboard.asm:
find -name '*.asm' | xargs sed -i -e 's/data.str \("[^"]*"\) data.8 0$/data.strz \1/g'
find -name '*.asm' | xargs sed -i -e 's/data.str \("[^"]*"\) data.8 0 /data.strz \1 /g'
find -name '*.asm' | xargs sed -i -e 's/data.str \("[^"]*"\) data.8 0x00 /data.strz \1 /g'
2023-02-01 23:49:23 +01:00
jn
e5b5f787a0
Add new ROM function: poweroff
2023-01-30 18:58:57 +01:00
jn
a6be83b99e
Fix a bunch of typos
...
No functional change.
2023-01-21 11:41:14 +01:00
Ry
155eed220c
Implement very basic RYFS write support; cannot write past end of files
...
Bumps version to 0.7.0
2023-01-20 18:51:18 -08:00
Ry
b96e6979ca
Show a "welcome to fox32" message box in the middle of the screen
2023-01-18 17:53:00 -08:00
Ry
a29ce25843
New bottom bar style
2022-12-29 12:00:49 -08:00
Ry
214181100a
Bump version to 0.6.0
2022-12-27 23:22:21 -08:00
Ry
616416ae02
Remove "Insert Disk" menu item
2022-12-26 18:08:29 -08:00
Ry
7df0521e98
Add EVENT_TYPE_MENU_ACK
2022-12-25 14:50:47 -08:00
Ry
05e40bd6cd
Ensure the event queue gets initialized properly
2022-11-22 17:31:34 -08:00
Ry
fdf3f8bcf5
New boot mechanism: load sector 0 to 0x800 and execute it
2022-10-27 22:42:56 -07:00
Ry
3c9e2cf32c
Fix setting the breakpoint exception handler to the wrong exception oops
2022-10-27 19:07:22 -07:00
Ry
2720d0ddff
Ignore the pushed value in interrupts and exceptions
...
Also handle more types of exceptions.
*** First commit compatible with the C rewrite!! ***
2022-10-26 21:50:29 -07:00
Ry
6cc4b18022
Add some keyboard related stuff to the jump table and ROM def
2022-10-10 18:53:18 -07:00
Ry
e3ec282185
Add some missing routines to the jump table
2022-10-05 16:54:52 -07:00
Ry
f10b1d5635
Add default exception handler for page fault writes
2022-09-15 17:43:53 -07:00
Ry
e70e5c37ea
Bump version to 0.5.0
2022-09-09 16:05:51 -07:00
Ry
9550e1945b
Add get_tilemap
and get_unused_overlay
2022-09-02 14:23:46 -07:00
Ry
f31a722e4f
Add ryfs_tell, bump version to 0.4.0
2022-08-30 16:27:22 -07:00
Ry
f307c55bdd
Add default page fault exception handler, bump version to 0.3.3
2022-08-15 17:32:50 -07:00
Ry
594284cd0c
Reimplement ryfs_read_whole_file
using ryfs_read
, bump ver to 0.3.2
2022-08-11 17:06:10 -07:00
Ry
d1009a1680
Fix broken ryfs_read
routine, bump version to 0.3.1
...
There were two issues here:
First, ryfs_read_sector_loop was not setting the current sector to the
next sector of the file being read. This had the effect of making it
read the same sector over and over again.
Second, the destination pointer for the `copy_memory_bytes` call wasn't
being changed after each sector copy.
2022-08-10 18:12:14 -07:00
Ry
5845ea6e60
Add ryfs_get_file_list, bump version to 0.3.0
2022-08-09 23:22:51 -07:00
Ry
c171e99680
Add support for 4 audio channels, bump version to 0.2.0
2022-08-09 01:55:17 -07:00
Ry
e2abb1c3f8
Reset the stack pointer after seeding the RNG
2022-07-27 14:00:53 -07:00
Ry
09e27bac54
Add an awesome random number generator made by lua :3
...
Co-authored-by: Lua MacDougall <lua@foxgirl.dev>
2022-07-26 22:53:18 -07:00
Ry
3824682ab0
Move the menu overlay data out of the audio buffer area (oops!!)
2022-07-26 18:33:51 -07:00
Ry
8ee0214164
Add some convenience routines for moving and resizing overlays
2022-07-26 16:58:20 -07:00
Ry
ab0a8e62db
Remove unfinished overlay routine
2022-07-26 16:09:00 -07:00
Ry
24a244108b
Fix broken generic jump table
2022-06-24 18:39:14 -07:00
Ry
fd4b7790ee
Add set_tilemap to the jump table
2022-06-24 18:27:06 -07:00
Ry
ad0571d420
Add ryfs_get_size
2022-06-23 14:15:52 -07:00
Ry
e158dd3bc5
Add more generic tile drawing routines
2022-06-21 18:08:16 -07:00
Ry
c7464fa4bc
fox32rom: Add play_audio and stop_audio routines
2022-06-20 17:11:49 -07:00
Ry
8d6c90498a
fox32rom: Disable audio playback on reset
2022-05-26 17:22:19 -07:00
Ry
2c4c04fd39
fox32rom: Move overlay framebuffers to make room for the audio buffers
2022-05-25 16:18:18 -07:00
Ry
c147080bdd
fox32rom: Error if system.bin wasn't found
2022-05-19 16:12:09 -07:00
Ry
3583067b23
fox32rom: Add read and seek routines for RYFS
2022-05-16 16:31:16 -07:00
Ry
0c99d2b558
fox32rom: Revert commit that removes all disks on reset
2022-05-12 17:42:32 -07:00
Ry
9dc92e506e
fox32rom: Show status message while booting
2022-05-12 15:09:36 -07:00
Ry
6516128ba3
fox32rom: Add string_to_int
2022-05-01 18:01:10 -07:00
Ry
e5c98ddd69
fox32rom: Move enable_cursor to a separate subroutine
2022-04-25 21:43:19 -07:00
Ry
c078c2b917
fox32rom: Add compare_string
2022-04-23 22:31:44 -07:00
Ry
bcfeac816b
fox32rom: Add copy_string
2022-04-23 16:47:17 -07:00
Ry
92f23e91a6
fox32rom: Start working on a ROM monitor
2022-04-18 14:48:04 -07:00
Ry
06be1034f9
fox32rom: Add EVENT_TYPE_KEY_DOWN and EVENT_TYPE_KEY_UP
2022-04-17 16:21:56 -07:00
Ry
b908d98bb6
fox32rom: Make overlay structs const
2022-04-17 15:43:13 -07:00
Ry
5df841f061
fox32rom: Start implementing RYFS support
2022-04-17 14:38:38 -07:00
Ry
e7c0caafaf
fox32rom: Remove all disks on reset
2022-04-17 14:34:49 -07:00