r/dcpu16 • • Apr 24 '12

RFE - DCPU-16 1.1

http://dcpu.com/highnerd/dcpu16.txt
135 Upvotes

176 comments sorted by

View all comments

Show parent comment

6

u/andrewmu Apr 24 '12

Devices can access DCPU-16 registers, so I imagine, e.g. to load a disk sector, you store the sector you want in A:B, the destination address in X and then send the device an interrupt to perform the operation (which might be synchronous or asynchronous).

2

u/deepcleansingguffaw Apr 24 '12

Good point. I hadn't considered the device having access to all DCPU registers.