[comp.sys.amiga.programmer] Dual Playfields.. a ?

specter@disk.uucp (Byron Max Guernsey) (06/28/91)

I wrote a program that displays a map in a box and lets you walk around. I
was looking around and found an example on Dual Playfields on the lattice C
distribution disks..(the example is by Gregg Williams and it opens its own
view instead of going through a screen)

I liked the demo program so I decided to try to make my map scroll usin the
technique. Well, needless to say, it didn't work like it should. It seemed
to work to a degree while I still had the view.Mode = dualpf + pfba...
BUT my program uses HIRES | LACE mode so I added that to the view structure
and it didn't make a bit of difference, SO then I made the same changes in
the viewport.Mode and it did make a difference. My screen would turn black 
when I run the program and didn't work at all. (no display at least) and then
when I exit it crashes the oldview which was saved. Is there something I am
not doing that I should be doing? I have no idea how to do this, so I am going
by the example Gregg wrote..but it doesn't seem to work for HIRES | LACE?
Could it be a lack of memory for dual playfields in hires | LACE mode?

Byron

-- 
 / /\ \/       \ /\ |---|  /\  /     \    |---|   /O---------------------------O
/ /  \/   /\  /_/  \_| |-------------------| |   / |The Legendary City of Frore|
\/    \/\/  \/   /\ \| |/\_______n__/\/\__/\ |/\/  O---------------------------O
 \     \     \  /  \ /-/  \/\__/\/\/  \ \/  \/specter@disk.UUCP  Byron Guernsey

specter@disk.uucp (Byron Max Guernsey) (06/28/91)

I went back and tried just LACE and it would run, but since the graphics are
currently setup to work with a HIRES screen it doesn't look very good. I am
guessing that 512k chip ram is just too little to do dual hires playfields?
(even if one was signifigantly smaller than the other) 

Is there anyway to smoothly scroll a region other than the above? I guess I
could loewr the resolution on it, but I wanted to make it HIRES since there
are very few hires games. (or at least that I have seen) Well, I guess I will
have to stick with blocky scrolling unless someone here knows an alternative?

Byron

-- 
Byron 'Maxwell' Guernsey                       |       ///  //\\
specter@disk.UUCP     or                       |      ///  //  \\
uunet!ukma!corpane!disk!specter                |  \\\///  //====\\
"Great programs aren't written, they're fathered." \\\/  //      \\ m i g a