Commit Graph

51 Commits

Author SHA1 Message Date
Ry
0059493bb2 sh: Check to make sure we have a stream struct before continuing
Fixes issue #17.
2023-07-13 21:15:20 -07:00
Ry
73bf9275bc Fetcher: View and launch FXF binaries 2023-07-13 00:11:02 -07:00
Ry
7d4918041b Fetcher: Proper desktop icons! 2023-07-12 17:33:57 -07:00
Ry
20e25f963e Fetcher: Minor code style fixes 2023-07-12 16:41:39 -07:00
TalonFox
aa60133fe0
Improve window dragging and add fetcher animation
Signed-off-by: TalonFox <105325988+TalonFox@users.noreply.github.com>
2023-07-12 12:41:11 -05:00
Ry
e6293f1e28 Fetcher: Fix incorrect comments 2023-07-12 00:01:53 -07:00
Ry
df9e7eb311 Fetcher: Initial commit
This commit includes needed kernel changes and additions.
2023-07-12 00:00:08 -07:00
Ry
6a9dc85d81 all: Fix incorrect/old file struct size
Surprised this didn't cause more issues :p
2023-07-11 15:54:08 -07:00
Ry
c101b58dea OkmPaint: Initial commit 2023-06-25 16:46:42 -07:00
Ry
d5e9404413 Fix some messed up formatting, add Okameron submodule 2023-06-24 16:05:17 -07:00
Ry
f6ec0dde0b sh: Add echo command 2023-04-02 13:17:54 -07:00
Ry
7a2f96717e sh: Add rdall command 2023-04-02 13:09:32 -07:00
Ry
d3c75a7c9c sh: Add rdnext command
This command redirects the IO stream for the next command to the
specified file or named stream
2023-03-31 16:32:00 -07:00
Ry
958e6348f7 launcher: Launch applications from the current disk 2023-03-31 00:32:02 -07:00
Ry
8bea7c39b4 kernel + sh: Another stream overhaul
Certain streams can now be opened by name by prefixing the name
with a colon (':'). The only supported named stream at the moment
is :fb, which streams to/from the background framebuffer.

A new syscall called `get_size` was also added, which should be used
instead of `ryfs_get_size`. This new syscall supports getting the size
of streams.
2023-03-30 22:18:23 -07:00
Ry
fa693c71a7 all: Increase file struct size to 32 bytes for both files and streams 2023-03-30 21:46:24 -07:00
Ry
861031ea6c terminal: Use launch_fxf_from_disk 2023-03-23 00:37:39 -07:00
Ry
201336ad31 serial: Use launch_fxf_from_disk 2023-03-23 00:37:16 -07:00
Ry
8103ec8bcd kernel/fxf and launcher: Add and use launch_fxf_from_disk syscall 2023-03-22 22:18:33 -07:00
Ry
22c8e1f820 bg: Use data.strz for the filename 2023-03-22 16:36:25 -07:00
Ry
4e0ab3a75d sh/launch: Use ryfs_open directly instead of open for now 2023-03-20 17:32:14 -07:00
Ry
60a322ca53 kernel+apps: Use a more standard filename format (8.3 with no spaces) 2023-03-15 17:53:45 -07:00
Ry
6253b60762 sh: Fix inverted condition in the disk command 2023-03-05 17:39:29 -08:00
Ry
6318fbb6f9 bg: Use the "current" disk id 2023-03-05 17:30:51 -08:00
Ry
fb3eac0d98 terminal/task: Use the "current" disk id 2023-03-04 23:36:17 -08:00
Ry
ebbc2fa81e sh: Use the "current" disk id 2023-03-04 23:35:54 -08:00
Ry
8d3ef81cba terminal/text: Treat delete (ASCII 127) as backspace 2023-02-16 22:02:52 -08:00
Ry
8bfd66941d sh/dir: Show file sizes 2023-02-04 17:34:20 -08:00
Ry
6c4790cd5f sh/dir: Add a space between the file name and type, and show a header 2023-02-04 16:37:34 -08:00
Ry
f37c9b37bd sh: Move terminal control character consts to main.asm 2023-02-04 16:29:47 -08:00
Ry
36f76ed12d serial: Add missing ret to print_str_to_terminal 2023-02-04 16:19:09 -08:00
Ry
d4afc36f49 sh/help: Use const for setting the color 2023-02-04 16:15:47 -08:00
jn
bef0aa9700 Add serial.fxf: Serial terminal 2023-02-02 04:08:18 +01:00
jn
d03d49ac44 Move scancode-to-ASCII conversion into the terminal 2023-02-02 04:07:57 +01:00
jn
ffdda5eaca Make use of data.strz
The filesystem image is the same before and after this commit:

$ sha256sum fox32os-orig.img fox32os.img
abc77bd6310b8eb6bcde0a8a442ca8bab071307a6cf5155ea606578435f77d27  fox32os-orig.img
abc77bd6310b8eb6bcde0a8a442ca8bab071307a6cf5155ea606578435f77d27  fox32os.img


The conversion was performed with a few sed commands:

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-02 03:03:07 +01:00
jn
8fe903a9ff kernel/vfs: Don't ignore buffer length in read(stream) 2023-02-02 00:00:37 +01:00
jn
73eee3e599 kernel/vfs: Don't ignore buffer length in write(stream) 2023-02-02 00:00:37 +01:00
Ry
5b355a34b9 sh: help should list commands in alphabetical order 2023-01-31 22:38:14 -08:00
Ry
652c3b70c2 sh: Make help have a little bit of color 2023-01-31 22:03:40 -08:00
Ry
cae9ffdd28 terminal: Support multiple colors 2023-01-31 22:03:24 -08:00
Ry
2a8eb5b267 sh: Properly handle dir on an empty disk
Fixes issue #8.
2023-01-30 14:16:59 -08:00
jn
5641fc6987 sh: Add shutdown command 2023-01-30 18:56:50 +01:00
Ry
d8c0874b7c barclock: Fix crash when there is no active window 2023-01-24 17:19:17 -08:00
Ry
cf5850b668 barclock: Show active window title in the menu bar 2023-01-24 17:11:14 -08:00
Ry
c3b68946f5 launcher: Initial commit 2023-01-24 17:08:55 -08:00
Ry
9e256a7e3c sh: Move to an application outside of the kernel
Fixes issue #3
2023-01-21 00:17:10 -08:00
Ry
9a0208fe96 terminal: Ignore CTRL key presses 2023-01-20 23:30:43 -08:00
Ry
aad731da31 foxpaint: Add a very basic color picker window using button widgets 2023-01-18 17:55:12 -08:00
Ry
1d70da41a9 foxpaint: Initial commit 2022-12-27 18:10:58 -08:00
Ry
8ac2d2c0d4 kernel: Add a very basic GUI widget system 2022-12-27 18:01:55 -08:00