Commit Graph

128 Commits

Author SHA1 Message Date
Ry
05e40bd6cd Ensure the event queue gets initialized properly 2022-11-22 17:31:34 -08:00
Ry
1c73faafa1 Show rsp and rip in the brk register dump 2022-11-12 21:02:32 -08:00
Ry
fdf3f8bcf5 New boot mechanism: load sector 0 to 0x800 and execute it 2022-10-27 22:42:56 -07:00
Ry
dafd947987 Redraw the monitor console if invoked while already in the monitor 2022-10-27 19:13:50 -07:00
Ry
7a3c1509a2 Add a cool register dump thing to the breakpoint exception handler 2022-10-27 19:10:03 -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
e5dea368b0 Save r31 in a few routines which previously didn't 2022-10-13 18:52:59 -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
93093fbbcc monitor: Drastically improve the scrolling performance 2022-09-02 14:24:46 -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
78e14ff1f4 Prepare for the 1st release 2022-07-31 17:28:19 -07:00
Ry
f4e70bff94 Allow adjusting the audio sample rate 2022-07-27 18:32:04 -07:00
Ry
e2abb1c3f8 Reset the stack pointer after seeding the RNG 2022-07-27 14:00:53 -07:00
Ry
050bd7e0af this is lua's child 2022-07-26 23:03:04 -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
1133e97e02 monitor: Return early if invoked while already in the monitor 2022-07-26 17:48:29 -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
2c6b0963de Add missing documentation about passing an overlay number 2022-07-25 19:37:57 -07:00
Ry
00341388de Add note about prebuilt binaries to the README 2022-07-24 20:58:17 -07:00
Ry
ecc8a02f3c Upload fox32rom.def for each build 2022-07-04 23:36: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
ac337bc340 Invoke the monitor on panic 2022-06-23 15:42:56 -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
f52c279fcd Build using GitHub Actions 2022-06-21 16:34:22 -07:00
Ry
35fbefc509 Add .gitignore 2022-06-21 00:10:05 -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
7b5d395388 monitor: Make the background black instead of grey 2022-05-22 14:53:21 -07:00
Ry
ba15535f9f fox32rom: Reformat fox32rom.def a little bit to match fox32os.def 2022-05-21 16:59:15 -07:00
Ry
d4f5c7093a fox32rom: Fix panic message output 2022-05-21 16:27:29 -07:00
Ry
c147080bdd fox32rom: Error if system.bin wasn't found 2022-05-19 16:12:09 -07:00
Ry
8f0294d83c fox32rom: Boot system.bin instead of kernel.bin 2022-05-19 14:21:11 -07:00
Ry
e18c466d34 fox32rom: Don't crash when trying to open a file that doesn't exist 2022-05-19 14:19:02 -07:00
Ry
3583067b23 fox32rom: Add read and seek routines for RYFS 2022-05-16 16:31:16 -07:00
Ry
3de7fd9567 monitor: Add a (very hacky) text cursor 2022-05-12 18:00:52 -07:00