I need to spend some time just playing around in BASIC, been thinking about graphics too
- replies
- 1
- announces
- 0
- likes
- 4
@vidak@social.solarpunk.au i need to make an interface that updates on a timer but still lets you input commands
@purple what kind of interface?
@vidak@social.solarpunk.au CLI + status bar. like this:
status: 42 || alpha: 0 || bravo: 1 || charlie: 2
--------------------------------------------------
> do_stuff
Stuff is done!
and the status bar would be able to update between typing letters rather than just repainting the screen only after entering a command.the way i'd logic it is to capture the input and render the entire screen, displaying it at a convenient time in the game_update_loop (which runs at maybe 10Hz, really slow but still faster than thinking and typing)
@purple is this in BASIC?
Why don't you just update the screen every keypress? Not sure if the Canon Cat did this but why would stuff change in between user input?
I remember when I wrote an Atari 2600 kernel that there where about 76 1 MHz clock cycles per scan line on a PAL TV.
I think strobing at 10 Hz is too low. I reckon either up the strobing or remove the conflict between interrupts and timers.