BBS: Inland Empire Archive Date: 02-22-92 (22:12) Number: 132 From: PHIL PENNE Refer#: NONE To: ALL Recvd: NO Subj: Interrupts In Basic Conf: (5) Dr_Debug
Oooookay. I thought I was slick in BASIC until I started using interrupts. I ran across one program (here in Dr. Debug) that shows how to do a print screen under program control: 110 a%(0)=&H5CD:a%(1)=&HCB 120 p=varptr(a%(0)) 130 call p ...and it works like a champ. Why?!?! I understand the CALL function, and I know that I am locating a variable address in line 120, but where do the &H5CD and &HCB come from (does the 5 represent INT5?) and what do they do? It's still magic to me... * SLMR 2.0 * A crowded elevator smells different to a midget... --- * Origin: /* Hacker's Haven */ Clearwater, FL 813-442-1441 (1:3603/160)
Books at Amazon:
Back to BASIC: The History, Corruption, and Future of the Language
Hackers: Heroes of the Computer Revolution (including Tiny BASIC)
Go to: The Story of the Math Majors, Bridge Players, Engineers, Chess Wizards, Scientists and Iconoclasts who were the Hero Programmers of the Software Revolution
The Advent of the Algorithm: The Idea that Rules the World
Moths in the Machine: The Power and Perils of Programming
Mastering Visual Basic .NET