Commit Graph

64 Commits

Author SHA1 Message Date
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
Juhani Krekelä a2c1aaf6ec Hoist segment register modification out of drawing subroutines 2023-03-18 14:27:47 +02:00
Juhani Krekelä 8da69da9a2 Add a quick way to check the size of ponydos binary 2023-03-18 14:23:32 +02:00
Juhani Krekelä d258a1ad81 Fix typoe resb→resw with mouse_row 2023-03-18 14:23:07 +02:00
shikhin a110e1da1b Save some bytes 2023-03-18 12:12:18 +05:30
Juhani Krekelä f39f25a4c1 Start work on shell 2023-03-18 01:05:32 +02:00
Juhani Krekelä 2a2985640e Pad files to the correct size (128 sectors) in assemble_floppy.py 2023-03-18 01:03:19 +02:00
Juhani Krekelä 56d22db6e0 Bump cpu level to 286 and use pusha/popa where possible 2023-03-16 19:22:59 +02:00
shikhin 565fff50b4 Don't assume things about ds/es 2023-03-16 21:22:41 +05:30
Juhani Krekelä 2a3200fc73 Remove filesystem from TODO 2023-03-16 17:21:06 +02:00