home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Club Amiga de Montreal - CAM
/
CAM_CD_1.iso
/
files
/
053.lha
/
Esuom
/
esuom.doc
< prev
next >
Wrap
Text File
|
1986-11-20
|
1KB
|
22 lines
Esuom - Sean Riddle - OKC ACE BBS - (405) 631-9040
This is my first screen hack. Some ACE users were talking about this over
pizza after a meeting, and we weren't sure how difficult it would be. Turns
out it was pretty easy. The program is basically copied from the RKM Vol I.
A few things had to be changed to get it to work. Notably, having the
input.device call my C routine required a stack of at least 75000 to keep
from crashing. I think it is because of the slow speed and large stack
space C requires. Anyway, I rewrote the input handler in ASM (my first real
attempt at programming 68000 assembly). It turned out fine. Esuom.c is the
part that opens the window and submits the handler. HandlerInterface.asm is
the actual handler. It is inserted just before Intuition gets a hold of the
mouse input. We look for RAWMOUSE events, and modify them. When the user
clicks on the close gadget, the sleeping program goes away. I also set a
new pointer, just for fun. Of course it's PD. Just leave my name on it.
Lattice C v3.10:
LC -adb Esuom (program contains sprite data, must go into CHIP memory)
ASM HandlerInterface.asm
BLINK with Esoum.with