4 ms·
Great work on the web emulator! So--and forgive my ignorance here--is there actually a spec up for things like hardware interrupts, IDTs, trap vectors, whateve
by angersock 15y ago
Great work on the web emulator!
So--and forgive my ignorance here--is there actually a spec up for things like hardware interrupts, IDTs, trap vectors, whatever?
This all seems of limited utility until we know how the machine is actually structured.
- deliciouscoffee 15y agoThis is the only spec that we have to work with: http://0x10c.com/doc/dcpu-16.txt http://0x10c.com/doc/dcpu-16.txt . Notch said he's reviewed quite a bit of feedback on the spec and to expect revisions although it may be a while. The rest of our information comes from Notch's tweets. Interrupts are unlikely. IO is memory mapped. There's been some guessing about display and keyboard but nothing set in stone.
- JEBailey 15y agoThere are, officially, no interrupts. As for the other bits I'm doubting it but Notch hasn't said anything official.
- archgoon 15y agoIn addition to the official spec, there are twitter posts and sample code, which is currently being taken as spec. Colors were justified based on an early screenshot that had text coloring. Here's Notch's code, originally linked to on twitter, that has been used to justify the way the 16 word buffer works in 0x10co.de http://pastebin.com/raw.php?i=aJSkRMyC http://pastebin.com/raw.php?i=aJSkRMyC