Commit Graph

139 Commits

Author SHA1 Message Date
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
Juhani Krekelä c695688e3a Generate floppy image with a python script 2023-03-16 17:14:53 +02:00
shikhin 400f282725 Merge read/write to modify_sector 2023-03-16 16:12:22 +05:30
shikhin d6dc33f164 Begin work on filesystem support 2023-03-16 15:40:03 +05:30
Juhani Krekelä 9d2021cf1f Reset disk system on read error 2023-03-13 14:40:28 +02:00
Juhani Krekelä feb4eecb05 Simplify the placeholder wallpaper.ansi 2023-03-11 20:39:41 +02:00
Juhani Krekelä 8d1b473243 Remove unnecessary test code from wallpaper loading 2023-03-11 20:07:05 +02:00
Juhani Krekelä e07cfe4481 Update TODO to reflect current state 2023-03-11 20:04:50 +02:00
Juhani Krekelä ff1b91f3dd Load wallpaper from disk 2023-03-11 17:49:55 +02:00
Juhani Krekelä 465f6ebf22 Add missing colon to .y_end 2023-03-11 17:17:40 +02:00
Juhani Krekelä 2805ae856b Slow down cursor speed 2023-02-06 18:02:21 +02:00
Juhani Krekelä 0692c75eab Draw mouse cursor 2023-02-06 17:45:26 +02:00
Juhani Krekelä dc0ddf3ab9 Store and update mouse location 2023-02-06 17:15:47 +02:00
Juhani Krekelä 42932c472f Convert to use int 0x15 mouse routines 2023-01-30 18:56:16 +02:00
Juhani Krekelä e03b6c0ef1 First commit 2022-02-11 18:16:49 +02:00