Re: BL, BH etc...
- Posted by Mike Fowler <stoner at NELSUN.GEN.NZ> Aug 29, 1997
- 624 views
MF> I've been making some handy mouse routines usding the dos interrupt MF> #33, but theres one that requires REG_AL and REG_AH to store MF> information, but machine.e only has REG_AX = 7 etc. as constants. MF> Does anyone out there know what REG_BL, REG_BH etc are? GH> Say you want Interrupt #10, Service #10, Function #07. GH> AH = #10 GH> AL = #07 GH> then, GH> regs[REG_AX] = #1007 GH> regs = dos_interrupt(#10, regs) okay - ive got that.. thanks :) GH> Each register is 16 bits wide and can be divided into high and low. GH> REG_BL is REG_BX low 8 bits GH> REG_BH is REG_BX high 8 bits GH> Now have I confused you? maybe... i _think_ i understand now... so if, say, REG_AX = #3F, then REG_AL = #3, and REG_AH = #F ??? or am i dreaming? Thanks again :) Mike Fowler - mike.fowler at nelsun.gen.nz o__ --- _,>/'_ --- (_) \(_) --- Tip for the month: Buy a flatbed scanner - great mouse pads.