mirror of
https://github.com/weiju/amiga-stuff
synced 2025-12-08 14:58:33 +00:00
added strobing of copjmp1 after setting list
not strobing copjmp1 can lead to compatibility issues
This commit is contained in:
@ -27,6 +27,7 @@
|
||||
* A simple setup to display a playfield with a depth of 1 bit.
|
||||
*/
|
||||
extern struct Custom custom;
|
||||
char VERSION_STRING[] = "\0$VER: playfield1 1.0 (21.09.2016)\0";
|
||||
|
||||
static UWORD __chip coplist[] = {
|
||||
COP_MOVE(BPL1PTH, 0),
|
||||
@ -81,6 +82,11 @@ int main(int argc, char **argv)
|
||||
// and point to the copper list
|
||||
custom.cop1lc = (ULONG) coplist;
|
||||
|
||||
// strobe the COPJMP1 register to make sure the system is using
|
||||
// copper list 1 (I found out that leaving this out can lead to
|
||||
// strange effects on an emulated 4000 system)
|
||||
custom.copjmp1 = 1;
|
||||
|
||||
waitmouse();
|
||||
|
||||
reset_display();
|
||||
|
||||
Reference in New Issue
Block a user