Activating CG1 mode

Hardware Hacking, Programming and Game Solutions/Cheats
Post Reply
User avatar
robcfg
Posts: 1665
Joined: Sat Apr 04, 2009 10:16 pm
Location: Stockholm, Sweden
Contact:

Activating CG1 mode

Post by robcfg »

I was wondering if the CG1 mode (64x64 4 color graphics mode) can be set on the Dragon.

I did try with a small assembly program but probably did something wrong.
pser1
Posts: 1793
Joined: Sun Mar 25, 2012 7:32 pm
Location: Barcelona (SPAIN)

Re: Activating CG1 mode

Post by pser1 »

Hello Robert
according to the book 'Anatomy of the Dragon' to set the graphic mode 64x64 4 colours you just have to do this
POKE&HFFC1,0:POKE&HFFC2,0:POKE&HFFC4,0 in order to set the SAM
And then POKE&HFF22,&H80 to set the PIA
cheers!
User avatar
robcfg
Posts: 1665
Joined: Sat Apr 04, 2009 10:16 pm
Location: Stockholm, Sweden
Contact:

Re: Activating CG1 mode

Post by robcfg »

That worked beautifully!

I must have made some silly error when I tried before... :mrgreen:

Thank you very much, Pere!
Post Reply