Commit Graph

11 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ä 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
shikhin fd2ad023bb Change cancel button to be white on grey 2023-03-27 17:58:57 +05:30
shikhin 75a9a51191 Add error handling and popups in viewer 2023-03-27 16:04:52 +05:30
shikhin ef119b1e1b Remove strlen from viewer 2023-03-26 20:13:04 +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 cdf0f77379 Add basic viewer 2023-03-26 04:23:02 +05:30