Commit Graph

73 Commits

Author SHA1 Message Date
Juhani Krekelä be727d8757 Allow changing wallpapers from shell 2023-03-23 00:54:35 +02:00
Juhani Krekelä c455758566 Update README.md, shell can now execute programs 2023-03-23 00:43:49 +02:00
Juhani Krekelä 6ebb889fcf Allow launching programs from the shell 2023-03-23 00:41:12 +02:00
Juhani Krekelä ebf106dcc4 Don't depend on dx being 0 in modify_sector 2023-03-23 00:07:12 +02:00
Juhani Krekelä 5df22c3912 Properly pass window size to print_ls 2023-03-22 21:17:02 +02:00
Juhani Krekelä ee52411954 Resize file window so that it can display full directory 2023-03-22 21:03:10 +02:00
Juhani Krekelä ad03a04979 Populate file window contents on open 2023-03-22 20:57:19 +02:00
Juhani Krekelä bffa0c06a2 Implement closing the file window 2023-03-22 20:54:57 +02:00
Juhani Krekelä 59535b12f9 Implement clickable icon on desktop 2023-03-22 20:41:02 +02:00
Juhani Krekelä b0cebaee4b Add CrazyEttin's pony wallpaper 2023-03-22 19:30:49 +02:00
Juhani Krekelä 787cc81798 Use the extension .wall for wallpapers 2023-03-22 19:28:58 +02:00
Juhani Krekelä 5d8d8a3406 Improve ANSI escape code support in process_wallpaper.py 2023-03-22 19:16:28 +02:00
Juhani Krekelä 313453f5b3 Implement window unhooking 2023-03-20 21:42:59 +02:00
Juhani Krekelä cd98221d85 Add keyboard event handler to shell 2023-03-20 20:53:13 +02:00
Juhani Krekelä ede350fd40 Remove a stray tab 2023-03-20 20:50:22 +02:00
Juhani Krekelä c16e9b2937 Document the latest hack 2023-03-20 20:48:46 +02:00
Juhani Krekelä 13c69db33d Add keyboard events 2023-03-20 20:46:29 +02:00
Juhani Krekelä 744da780f3 Implement mouse events 2023-03-20 20:18:49 +02:00
Juhani Krekelä ae17e6380f Separate entry points for initialization and WM events for programs 2023-03-20 18:33:27 +02:00
Juhani Krekelä f51b9458da Fix redraw handling 2023-03-20 18:23:11 +02:00
shikhin 140b191c0a Add file sizes to ls. 2023-03-20 16:11:46 +05:30
shikhin 1bb62d1887 Add rudimentary ls 2023-03-20 14:30:57 +05:30
shikhin c4dc87c8fd Unify the x/y handling in the mouse handler a bit more 2023-03-19 23:40:59 +05:30
shikhin 45b4f8f3e1 Consolidate mouse position in flip_mouse_cursor 2023-03-19 22:51:52 +05:30
shikhin 6f2d655bd4 ror direct to memory 2023-03-19 22:33:16 +05:30
Juhani Krekelä 56f7cbcfa6 Optimize mainloop by consolidating mouse position in bx 2023-03-19 22:54:14 +02:00
shikhin b38f9a663c Can now not create a file with open_file 2023-03-19 20:32:10 +05:30
shikhin 99288a9fff More TODO 2023-03-19 20:31:17 +05:30
Juhani Krekelä 5e5a540ce9 Add memory allocation map 2023-03-19 21:06:12 +02:00
shikhin b3df18bb04 Switch from read_sectors to modify_sectors; return dirent in open_file 2023-03-19 20:09:35 +05:30
Juhani Krekelä 4cd5c0632a Overlap the windows 2023-03-19 20:52:54 +02:00
Juhani Krekelä d725407c5b Add windows 2023-03-19 20:50:24 +02:00
Juhani Krekelä 878cc67a83 Extract globals as well as syscalls from the symbol map 2023-03-19 20:49:03 +02:00
Juhani Krekelä f020b7ab2f Change wallpaper background colour to magenta 2023-03-19 20:47:00 +02:00
shikhin 8178c7a715 Get rid of one (1) jump 2023-03-19 19:32:28 +05:30
shikhin e900a60d4a Fixed a bunch of bugs in mouse_handler; memoized mouse_column in main loop 2023-03-19 19:00:21 +05:30
Juhani Krekelä 5c3580e9b5 Get rid of syscall thunks 2023-03-19 19:28:30 +02:00
shikhin d675597120 Combine x and y handling in mouse_handler 2023-03-19 18:22:10 +05:30
shikhin 91c56547e5 Optimize 2 bytes away with partial bss zeroing 2023-03-19 16:58:09 +05:30
Juhani Krekelä ce07a23355 Remove now-unnecessary shift in draw_rect 2023-03-19 17:19:18 +02:00
Juhani Krekelä 6e4974de3f Document new requirement that rectangle height is at least 1 2023-03-19 17:18:55 +02:00
shikhin a6cf05c1ff Minor optimizations in drawing rects 2023-03-19 16:02:49 +05:30
Juhani Krekelä 651480c91e Implement SYS_DRAW_RECT 2023-03-19 16:23:30 +02:00
Juhani Krekelä 66c103f727 Simplify make size 2023-03-18 16:01:12 +02:00
Juhani Krekelä 514cf5441f Move wallpaper loading to shell 2023-03-18 15:55:53 +02:00
Juhani Krekelä c4ab75fc54 Remove unnecessary segment register modification from modify_sector 2023-03-18 15:49:18 +02:00
Juhani Krekelä 9d3de7483e Rewrite mouse handler to use less code 2023-03-18 15:10:48 +02:00
Juhani Krekelä cb030ccf41 Don't pointlessly zero DS when it's already zero 2023-03-18 14:41:26 +02:00
Juhani Krekelä f465c642c4 Use 286 shifts and rotates 2023-03-18 14:31:35 +02:00
Juhani Krekelä 8e47898c7a Move stack to end of segment 2023-03-18 14:31:23 +02:00