Hacker News new | past | comments | ask | show | jobs | submit login

This might be a stupid question but where does the output go? Is it just a memory ___location? And does that memory ___location map to a "ship function"?

So, er, on a PC if I write data to address 0x378 it'll appear on LPT1. What's the equivalent on DCPU-16? If I write data to a certain address it'll appear on the missile bay ports?

Or is there a level of abstraction?




If I had to guess, he's going to implement memory-mapped I/O. So, there's going to be another specification that lists various memory locations' functions. Reading from some will return information about the ship's systems; writing to other locations will control the ship.





Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: