GroovyBee Posted April 23, 2010 Share Posted April 23, 2010 Find attached a little demo that I've just finished putting the final touches to. Its an implementation of the A8's graphics mode known as APAC (Any Point Any Colour). Basically the A8's APAC mode displays consecutive pairs of video scan lines made up of a video scan line of chroma (15 colours) and then a video scan line of luma (15 shades). These are blended by the TV to yield up to 256 colours but result in a residual artifact of a thin black line between each video line pair. To create the display mode on the A8s it alternates between two different GTIA graphics modes to get the colours or the shades. To simulate this on the 7800 two palettes of 12 colours each are used. The first palette contains shades of grey and the second palette contains a selection of the darkest colours. The end result is 13 shades of 13 colours or a total of 169 colours in MARIA 160B mode. The base colours chosen exist in both the PAL and NTSC palettes. This means that games will only need one set of image data and a detection routine to fill the palette accordingly. The downside is that there are some duplicates of red in PAL. However, I think that's an acceptable loss given the ROM saving. I'm going to call this new mode on the 7800 "160C" which stands for "160 Colour". It also follows on from the original MARIA display names of 160A and 160B. Boring I know . The vertical resolution of the image is fixed by MARIA. MARIA allows a Display List List (DLL) to cross one page boundary. This means the maximum space allocated to the DLL is 512 bytes (when correctly aligned). Each DLL entry is 3 bytes in size so there are 170 zone entries (of variable size) available. A PAL display needs 4 zone entries at the top and bottom of the screen to centre the display, which leaves 162 zone entries for a video image. Another 2 zone entries are expanded to 16 pixels which leaves the final image height at 160 pixels. Because the graphics mode needs two DLL entries per "line" the final height comes out at 80 pixels. The horizontal resolution of the images is 126 pixels for this demo. However given sufficient tweaking or more RAM available in the system it would be possible to use the full width of 160 pixels. There are no emulator screenshots because the emulators don't do it justice (well... er... they can't actually handle it correctly). The current 7800 emulators don't know anything about blending consecutive TV lines so the images look very poor. However these are the bitmap images passed into my conversion tool :- The demo displays all 6 images first and then it moves into a mode where the images are displayed a second time but the zone DL pointers in the DLL entries for the chroma/luma are swapped on every frame. This removes the thin black line but flickers on PAL. Here's the binary :- demox.bin I'm including the A78 file but it doesn't do the graphics mode justice . demox.a78 You'll need the following for use on a CC2 :- 78SC_POK 78BIOS As mentioned in this thread it doesn't actually use POKEY it was just a cut and paste to create an entry in my CC2 menu file. Many thanks to sh3-rg and nonner242 for their assistance in getting this project done. Special thanks to Crazyace for planting the seed too . The demo works fine in PAL and NTSC. I'm also going to experiment with 169 shades of grey and the 320B modes when I get some time. 8 Quote Link to comment Share on other sites More sharing options...
CPUWIZ Posted April 23, 2010 Share Posted April 23, 2010 > Kills Commando cart Quote Link to comment Share on other sites More sharing options...
GroovyBee Posted April 23, 2010 Author Share Posted April 23, 2010 > Kills Commando cart < It doesn't actually use POKEY. So commando carts can heave a sigh of relief. I just happened to cut and paste a line in my CC2's menu file to run it with. Quote Link to comment Share on other sites More sharing options...
nonner242 Posted April 23, 2010 Share Posted April 23, 2010 > Kills Commando cart < It doesn't actually use POKEY. So commando carts can heave a sigh of relief. I just happened to cut and paste a line in my CC2's menu file to run it with. Can not wait to see this running! GB Thanks for pushing the 7800 to new heights! Quote Link to comment Share on other sites More sharing options...
Emehr Posted April 23, 2010 Share Posted April 23, 2010 Pretty cool! Does this use something like Chronocolour? Quote Link to comment Share on other sites More sharing options...
DracIsBack Posted April 23, 2010 Share Posted April 23, 2010 This is fantastic! Christmas comes to the 7800 early. I always love demos like this showing colors and images that are digitized on older consoles. The hello was great too! 1 Quote Link to comment Share on other sites More sharing options...
GroovyBee Posted April 23, 2010 Author Share Posted April 23, 2010 I always love demos like this showing colors and images that are digitized on older consoles. The artists on the project were sh3-rg and nonner242. Everything was hand drawn by them. The hello was great too! You're welcome! Quote Link to comment Share on other sites More sharing options...
GroovyBee Posted April 23, 2010 Author Share Posted April 23, 2010 Does this use something like Chronocolour? From how I understand chronocolor to work I don't think so. I'll explain everything later. Quote Link to comment Share on other sites More sharing options...
+Allan Posted April 23, 2010 Share Posted April 23, 2010 Very cool, Groovybee. Can this be used for anything other than a still screen? If not, at least it will make some great title screens. Allan Quote Link to comment Share on other sites More sharing options...
GroovyBee Posted April 23, 2010 Author Share Posted April 23, 2010 Very cool, Groovybee. Can this be used for anything other than a still screen? If not, at least it will make some great title screens. You could do some interesting filled 3D polygon's with the technique. However, I've no idea about MARIA's fill rate. With enough RAM on cart its also possible to do software sprites. I'll see if I can work a game around it. 1 Quote Link to comment Share on other sites More sharing options...
Curt Vendel Posted April 23, 2010 Share Posted April 23, 2010 or the upcoming Expansion Module (Ram + Pokey + High Score) Curt Very cool, Groovybee. Can this be used for anything other than a still screen? If not, at least it will make some great title screens. You could do some interesting filled 3D polygon's with the technique. However, I've no idea about MARIA's fill rate. With enough RAM on cart its also possible to do software sprites. I'll see if I can work a game around it. 1 Quote Link to comment Share on other sites More sharing options...
Shannon Posted April 24, 2010 Share Posted April 24, 2010 eagerly waiting.. Quote Link to comment Share on other sites More sharing options...
DracIsBack Posted April 24, 2010 Share Posted April 24, 2010 The artists on the project were sh3-rg and nonner242. Everything was hand drawn by them. I'm always amazed at what a good artist can do. Put a good programmer and a good artist together ... and wow! 1 Quote Link to comment Share on other sites More sharing options...
GroovyBee Posted April 24, 2010 Author Share Posted April 24, 2010 I'm always amazed at what a good artist can do. Put a good programmer and a good artist together ... and wow! Thanks for the compliments to the team. You'll be pleased to know that sh3-rg is also the graphics man on my Halloween themed game. Quote Link to comment Share on other sites More sharing options...
DracIsBack Posted April 24, 2010 Share Posted April 24, 2010 You'll be pleased to know that sh3-rg is also the graphics man on my Halloween themed game. I am pleased. Of course, since you brought up that topic ... Any chance there will be a build soon? i bug only because I'm dying to try! Quote Link to comment Share on other sites More sharing options...
sh3-rg Posted April 24, 2010 Share Posted April 24, 2010 I am pleased. Of course, since you brought up that topic ... Any chance there will be a build soon? i bug only because I'm dying to try! I have to say sorry here, it's mostly my lack of activity that is holding groovybee back a bit (although he's been a busy bee with lots of other things, too )... at this rate it won't even be ready for next Halloween! I'll be getting a version soon so I can look at the player sprite & rework it and then make some more wall objects. I'm happy working with gfx restrictions, but 7800 is a different kid of challenge to me... unusual but still fun Quote Link to comment Share on other sites More sharing options...
DracIsBack Posted April 24, 2010 Share Posted April 24, 2010 I have to say sorry here, it's mostly my lack of activity that is holding groovybee back a bit (although he's been a busy bee with lots of other things, too )... at this rate it won't even be ready for next Halloween! I'll be getting a version soon so I can look at the player sprite & rework it and then make some more wall objects. I'm happy working with gfx restrictions, but 7800 is a different kid of challenge to me... unusual but still fun No worries! This is a labor of love, not a business! Can't wait to see it though! Great art in the demo! Quote Link to comment Share on other sites More sharing options...
Cebus Capucinis Posted April 24, 2010 Share Posted April 24, 2010 :o :o GORGEOUS! Quote Link to comment Share on other sites More sharing options...
gambler172 Posted April 24, 2010 Share Posted April 24, 2010 Hi Mark Works great on real hardware .What would we do,without you????? greetings Walter Quote Link to comment Share on other sites More sharing options...
Corby Posted April 24, 2010 Share Posted April 24, 2010 Any pics???? Quote Link to comment Share on other sites More sharing options...
GroovyBee Posted April 24, 2010 Author Share Posted April 24, 2010 Sorry for the delay I'll be putting up a full explanation and screenshots tomorrow (Sunday). Quote Link to comment Share on other sites More sharing options...
Crazyace Posted April 25, 2010 Share Posted April 25, 2010 Very cool demo... Just imagine what the reactions would have been if this had been seen back when the 7800 came out Quote Link to comment Share on other sites More sharing options...
GroovyBee Posted April 25, 2010 Author Share Posted April 25, 2010 Modified the first post. Quote Link to comment Share on other sites More sharing options...
GroovyBee Posted April 25, 2010 Author Share Posted April 25, 2010 I'll be producing some carts for nonner242 and sh3-rg. If anybody else wants one let me know. Quote Link to comment Share on other sites More sharing options...
the.golden.ax Posted April 25, 2010 Share Posted April 25, 2010 I'll take a cart. AX Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.