Replies: 1 comment 3 replies
-
I haven't thought this through, but I think I'd try do it something more similar to DOS screen modes ( https://cs.lmu.edu/~ray/notes/pcvideomodes/ ). This could even allow screen-mode changes in runtime (not for the first version, of course :) ) which could be set using ~4 bits starting at 4*w; then a region after them (or perhaps in the last addresses of the program) becomes the bitmap. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The original idea (source):
I thought about supporting a screen output for some time, so your idea sounds awesome.
I think we can place the board blob as
hex.vec 320*240
right after the initial op and IO (so staring at 4*w).hex.vec is a consecutive list of
hex
- a variable the standard library supports, that holds 4 bits of information in it. we can use it for now as only 1/0, or support 4-bit colors.To support that, we need to:
To write the pong we need:
I'll be happy to hear any ideas or notes that you have
Beta Was this translation helpful? Give feedback.
All reactions