Commit Graph

139 Commits

Author SHA1 Message Date
Juhani Krekelä d4c15687c8 Add option for 8-colour mode
Some BIOSs initialize the VGA card by default into a mode where the high
bit of background nybble signals that the cell should blink. The simple
way to avoid this is by restricting the background colours to the range
0…7. However, since our mouse cursor is implemented by swapping the
foreground and the background colours, we also need to restrict the
foreground colours to the range 0…7.
2023-05-11 22:02:18 +03:00
Juhani Krekelä a496c5ce9d Fix typo 2023-03-29 16:46:17 +03:00
Juhani Krekelä 54a6755a5b Get README.md release-ready 2023-03-29 13:29:41 +03:00
Juhani Krekelä 5129f3f3b4 Lower mouse sensitivity 2023-03-29 13:28:36 +03:00
Juhani Krekelä 0b5fd0d84e Deallocate program memory only at end of event dispatch
Previously programs deallocated their memory before forwarding a
message. If the forwarded message made another program allocate, this
could cause the program code to be overwritten while it is still
running.
2023-03-29 13:24:28 +03:00
Juhani Krekelä 3f5d4ebd16 Fix typo that broke builds 2023-03-29 13:23:06 +03:00
Juhani Krekelä 8bea9d6120 Add stub WM_OPEN_FILE handler to hello.asm 2023-03-29 13:17:07 +03:00
Juhani Krekelä cb77e27fb2 Allow opening text files by clicking on them in the file window 2023-03-29 13:04:47 +03:00
Juhani Krekelä ceb7745b42 Exit with error from open_file if file is not found and asked to not create one 2023-03-29 12:21:13 +03:00
Juhani Krekelä 39e47a33e1 Add a second screenshot 2023-03-27 21:56:36 +03:00
Juhani Krekelä 892b871a94 Add wolf to README.md 2023-03-27 20:49:07 +03:00
Wolfgang Müller ce7b2c9dd6 README: Add a screenshot 2023-03-27 19:42:56 +02:00
Wolfgang Müller cce105184f README: Document how sensitivity is affected 2023-03-27 19:42:56 +02:00
Wolfgang Müller 2e78130f67 Makefile: Use variable for qemu
This way users can specify which backend to use without having to change
the Makefile itself.
2023-03-27 19:42:56 +02:00
Wolfgang Müller 2ca9f413ab Makefile: Quench qemu warning about image format
qemu deems format autodetection to be dangerous on raw images, so make
sure we specify exactly what we want to do. This will quench a
scary-looking warning right when launching PonyDOS. There's no
functional change otherwise.
2023-03-27 19:42:56 +02:00
Juhani Krekelä d762793c1c Fix bug where too short of a filename would not give launch error dialog 2023-03-27 20:40:01 +03:00
shikhin 81695d4403 CrazyEttin wobsite 2023-03-27 20:43:40 +05:30
Juhani Krekelä 653296914c Add missing dependencies to Makefile 2023-03-27 16:58:08 +03:00
shikhin fd2ad023bb Change cancel button to be white on grey 2023-03-27 17:58:57 +05:30
shikhin e5efe2e01d Mention mouse sensitivity. 2023-03-27 17:55:09 +05:30
Juhani Krekelä 9c61ea03ca No need to explicitly add a zero dirent 2023-03-27 15:18:04 +03:00
Juhani Krekelä d1d9e86181 Proofreading fixes 2023-03-27 14:56:57 +03:00
Juhani Krekelä 0d1b93f184 Add link to nortti 2023-03-27 14:55:30 +03:00
shikhin f664918b21 Update README 2023-03-27 17:20:23 +05:30
Juhani Krekelä 3b9ee317b1 Move hello.asm initial window position one down 2023-03-27 14:47:25 +03:00
Juhani Krekelä f1ee23251e Allow shell to be launched for another file window 2023-03-27 14:45:39 +03:00
shikhin 7951b1eb27 Update README. 2023-03-27 17:10:12 +05:30
Juhani Krekelä ad4c9a2209 Complete shell refactor 2023-03-27 14:08:48 +03:00
shikhin 75a9a51191 Add error handling and popups in viewer 2023-03-27 16:04:52 +05:30
Juhani Krekelä c6aa2ac3d1 Add a memory usage widget 2023-03-27 13:00:48 +03:00
Juhani Krekelä 68570ff2ad Add a non-launchable-file error dialog to shell 2023-03-27 12:39:22 +03:00
Juhani Krekelä faf66bbdb8 Add an out-of-memory error dialog to shell 2023-03-27 12:23:07 +03:00
shikhin 144a8c0bb1 Update TODO 2023-03-27 14:38:45 +05:30
shikhin 86050094eb Fix mouse comparisons for shell 2023-03-27 14:35:41 +05:30
Juhani Krekelä f726a128ed Use WINDOW_ID_* when constructing window IDs in shell 2023-03-27 11:38:37 +03:00
Juhani Krekelä 22e7af2da6 Update README with progress on shell.asm 2023-03-27 11:35:07 +03:00
Juhani Krekelä feffd0cb28 Divide shell.asm logically into sections 2023-03-27 11:34:21 +03:00
Juhani Krekelä 71444f5ce7 Name window IDs in shell 2023-03-27 11:23:59 +03:00
Juhani Krekelä 28423d0de3 Re-render file window in shell if directory has changed 2023-03-27 11:16:58 +03:00
shikhin ef119b1e1b Remove strlen from viewer 2023-03-26 20:13:04 +05:30
shikhin 544fb12af9 Check null-terminating byte in open_file 2023-03-26 20:07:53 +05:30
shikhin 9ac938a5f8 FS_DIRENT_NAME_SIZE includes null-termination 2023-03-26 20:05:13 +05:30
shikhin a61650954e Viewer now has prompt window to enter filename 2023-03-26 17:59:07 +05:30
shikhin 3c7741bdc9 Add scroll up/down buttons, space handling 2023-03-26 05:24:39 +05:30
shikhin f3a1e6ca5f Don't clobber ax in viewer event_click 2023-03-26 04:24:48 +05:30
shikhin 5ffe87e467 Merge branch 'master' of https://ahti.space/git/nortti/ponydos 2023-03-26 04:23:22 +05:30
shikhin cdf0f77379 Add basic viewer 2023-03-26 04:23:02 +05:30
Juhani Krekelä 27a52e86e7 Don't clobber ax in event_click in hello.asm 2023-03-23 18:30:48 +02:00
Juhani Krekelä bd9a62c1ce Properly access directory when launching files 2023-03-23 18:27:40 +02:00
Juhani Krekelä 572362f04f Properly read the file names from the directory in shell 2023-03-23 18:21:03 +02:00