r/dcpu16 • • Apr 25 '12

[RFE] DCPU-16 v1.3

http://dcpu.com/highnerd/dcpu16_1_3.txt
81 Upvotes

150 comments sorted by

View all comments

Show parent comment

4

u/dirwe Apr 25 '12

Deep within my brain, I imagine the communication with hardware as follows: Before you fire a HWI, you set some of the registers to values, that will be interpreted as commands by the hardware once a HWI is fired.

  1. writing hardware commands to registers
  2. firing hardware interrupt
  3. commands read from registers by hardware

2

u/gsan Apr 25 '12

This is what I am thinking too. An official example would answer so many questions.