Continuing my exploration of reimplementing LÖVE upon a risc32cfimv with memory-mapped I/O... How'd I reimplement its love.keyboard module?

I'd register some Assembly code to for the keyboard to interrupt with PS/2 scancodes (or F0 to indicate that the next scancode was released) read into an I/O shift register & validated over a SPI protocol. Which would precede to copy that into a ringbuffer which our LÖVE runtime can convert into events, possibly whilst filtering out key repeats.

1/3?

Yogthos
Angela Antunovic
Cory Doctorow
Yogthos and 2 others boosted

Alright, this took way longer to make than I am willing to admit. But the fact it didn't exist bugged me.
#shitpost #meme#EatTheRich#NoBillionaires#NoKings

A meme made from the classic Looney Tunes hunting season skit Bugs and Daffy pull down signs off a tree which read, respectively, "Rabbit Season" and "Duck Season". Finally, the last sign shows a caricature of a rich man and the text "Billionaire Season", and the two look off to one side evilly
A meme made from the classic Looney Tunes hunting season skit Bugs and Daffy pull down signs off a tree which read, respectively, "Rabbit Season" and "Duck Season". Finally, the last sign shows a caricature of a rich man and the text "Billionaire Season", and the two look off to one side evilly