Commit Graph

5 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ä 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ä c6aa2ac3d1 Add a memory usage widget 2023-03-27 13:00:48 +03:00