[net.micro.amiga] ROM Manual Examples

wrz@riccb.UUCP (William R. Zielinski ) (10/22/85)

Has anyone managed to get the examples in the ROM manual to work?

In particular I'm having trouble with the very first graphics example --
the one that simply sets up a View.  I'm running V1.0 AmigaDOS and have
V3.02 of the Lattice C disk.  I've discovered that the #include files
dma.h and regs.h no longer exist.  I assume that they have been replaced by
dmabits.h and custom.h.  After changing these and including a few other files
 etc. I managed to get the example to compile, but it doesn't seem to work.
(The screen goes black and a ^-A-A is needed to recover.)

BTW one line in the example is as follows:

	struct BitMap *b;   /* allocate space for bitmap */
                      ^               \ /
                      ^----------------^
                           |
                      "does not compute!"    

Needless to say, deleting the * does wonders for the program.

I doubt that I am the only one to run into problems like this.  If someone
has solutions to this or other problems they've encountered please post them.
(No sense in each of us re-inventing the wheel etc.)

                                                Thanks,
                                                     
 						Bill Zielinski


this group to help solve