Commit Graph

146 Commits

Author SHA1 Message Date
Ry
a4efa7e640
Merge pull request #5 from neuschaefer/dev
Make use of data.strz
2023-02-01 14:57:24 -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
Ry
ff024542ef
Merge pull request #4 from neuschaefer/dev
debug: refer to output facility as "serial port", not "terminal"
2023-02-01 13:41:32 -08:00
jn
e1a7840680 debug: refer to output facility as "serial port", not "terminal"
To avoid confusing it with the terminal application in fox32os.
2023-02-01 20:10:01 +01:00
Ry
0603179547
Merge pull request #3 from neuschaefer/dev
Add new ROM function: poweroff
2023-01-30 13:05:52 -08:00
jn
e5b5f787a0 Add new ROM function: poweroff 2023-01-30 18:58:57 +01:00
Ry
c67c96bf3a
Merge pull request #2 from neuschaefer/dev
GitHub CI: Bump actions/checkout to v3
2023-01-29 17:01:09 -08:00
jn
1abde611ee GitHub CI: Bump actions/checkout to v3
v2 is deprecated and causes a warning on the Actions page.
2023-01-30 00:52:34 +01:00
Ry
1899ed0f67 Show the actual rip value in the monitor when an exception occurs 2023-01-22 16:32:05 -08:00
Ry
8fb3e8a982
Merge pull request #1 from neuschaefer/dev
Fix a bunch of typos
2023-01-21 15:20:54 -08:00
jn
a6be83b99e Fix a bunch of typos
No functional change.
2023-01-21 11:41:14 +01:00
Ry
2893b71847 Add CTRL key definition 2023-01-20 23:29:51 -08: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
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