Regs

new topic     » topic index » view thread      » older message » newer message

I saw that someone posted to the list a function that checks the key status
and I wanted to make my own. So I didn't look at the code and I went and
looked at a interrupt list and found what interrupt to use. Here is my code so
far and I get errors

include machine.e

sequence reg_list
sequence al
reg_list = repeat(0,10)
reg_list[REG_AX] = #0200
reg_list = dos_interrupt(#16, reg_list)
al = and_bits(reg_list[REG_AX], ##00FF)  --- Error is this line

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu