Jump to content
Sign in to follow this  
ac.tomo

Photo quality GTIA mode?

Recommended Posts

Does anyone know how to open/access the atari's photo quality GTIA mode? I've seen it done in Atari's photo demonstration disk, but can't remember how it is achieved? A small basic program (with m/l routine if required) would be most appreciative.

Share this post


Link to post
Share on other sites
Does anyone know how to open/access the atari's photo quality GTIA mode? I've seen it done in Atari's photo demonstration disk, but can't remember how it is achieved? A small basic program (with m/l routine if required) would be most appreciative.

 

That sounds like (hope I don't mix these up) GTIA mode 9 which is 16 shades of one color at 80x192. There is also mode 11 which is 16 different shades at one luminance (80x192 again). Mode 10 is a tradeoff between those two but I don't remember how the compromise works. There are also software generated modes like HIP and TIP which can do better if you don't mind som e flicker. Since you aren't allergic to ML perhaps you may get a guru or two to fill you in on that. In any case, calling anything the A8 can accomplish "photo quality" is a real stretch.

Share this post


Link to post
Share on other sites

I have not yet tested graphic mode 9 (16 shades of one color, for example grey) conversion but I think that you can follow this post

http://www.atariage.com/forums/index.php?s...t&p=1469200

to convert a 16 shades of grey 80x192 .bmp image from PC to Atari and load it with Turbo-Basic XL.

Line 200 must be changed in GRAPHICS 9 and I think that lines 250/260 must be deleted.

Edited by Philsan

Share this post


Link to post
Share on other sites
Does anyone know how to open/access the atari's photo quality GTIA mode?

No. In the almost 30 years that the 8-bit Ataris have existed, nobody has ever gone into BASIC and typed "GRAPHICS 9". Seems a bit peculiar, but there it is.

Share this post


Link to post
Share on other sites
Does anyone know how to open/access the atari's photo quality GTIA mode? I've seen it done in Atari's photo demonstration disk, but can't remember how it is achieved? A small basic program (with m/l routine if required) would be most appreciative.

 

Is this the sort of thing you're after? Changing the PRIOR register on alternate lines using a DLI to toggle between GR9 & GR11 gives a stable 256 colour image in 80x96 resolution with a blank scan line between each line.

post-12834-1208813403_thumb.png

gworld.zip

Share this post


Link to post
Share on other sites
Does anyone know how to open/access the atari's photo quality GTIA mode? I've seen it done in Atari's photo demonstration disk, but can't remember how it is achieved? A small basic program (with m/l routine if required) would be most appreciative.

 

Many have been posted; here's one I posted a few weeks ago that comes with mpdos (http://www.mpdos.com):

 

10 PRINT "Atari BASIC program to show shades in Graphics 9 and 10 simultaneously."

15 PRINT "By Krishna Software Inc."

20 PRINT "Press START to start; SELECT to change colors."

30 IF PEEK(53279)<>6 THEN 30

40 GRAPHICS 9

50 POKE 704,16:POKE 705,232:POKE 706,248:POKE 707,255

60 POKE 708,232:POKE 709,234:POKE 710,236:POKE 711,238:POKE 712,0

70 C=0:FOR T=0 TO 79:COLOR C:C=C+1:IF C>15 THEN C=0

80 PLOT T,0:DRAWTO T,95:NEXT T

90 DL = PEEK(560)+PEEK(561)*256:REM POKE DL+2,112+128

100 POKE DL+102,143:POKE DL+150,15+128:REM POKE DL+50,15+128

110 C=0:FOR T=0 TO 79 STEP 2:COLOR C:C=C+1:IF C>7 THEN C=0

120 PLOT T,96:DRAWTO T,191:PLOT T+1,96:DRAWTO T+1,191:NEXT T

130 FOR T=1520 TO 1535:READ A:POKE T,A:NEXT T

140 POKE 512,240:POKE 513,5:POKE 54286,192

150 IF PEEK(53279)<>5 THEN 150

160 GOSUB 200

170 GOTO 170

175 REM PHA=72; PLA=104; RTI=64; LDA is 169,165,173; STA is 133,141; EOR=73

180 DATA 72,169,128,141,10,212,141,27,208,73,192,141,242,5,104,64

200 POKE 704,224:POKE 705,226:POKE 706,228:POKE 707,230:POKE 708,232:RETURN

RUN

Share this post


Link to post
Share on other sites
Yes, GTIA 256 colors mode 80x96 res mode.

To draw pictures like the ones above you can use the program Paint 256 or perhaps convert them from .bmp with the program BMPTO256.TUR in this post:

http://www.atariage.com/forums/index.php?s...t&p=1449186

But how can you load them in Turbo-Basic XL?

Edited by Philsan

Share this post


Link to post
Share on other sites
Does anyone know how to open/access the atari's photo quality GTIA mode? I've seen it done in Atari's photo demonstration disk, but can't remember how it is achieved? A small basic program (with m/l routine if required) would be most appreciative.

 

There was also a commercial paint program that allowed 256 colors on screen. I believe the name was "Technicolor Dream" and was available for purchase up to the mid-90s from "American Techna-Vision." I remember the program being quite impressive at the time. However it was not photo quality due to the limits of the Atari system.

Share this post


Link to post
Share on other sites
Does anyone know how to open/access the atari's photo quality GTIA mode? I've seen it done in Atari's photo demonstration disk, but can't remember how it is achieved? A small basic program (with m/l routine if required) would be most appreciative.

 

Is this the sort of thing you're after? Changing the PRIOR register on alternate lines using a DLI to toggle between GR9 & GR11 gives a stable 256 colour image in 80x96 resolution with a blank scan line between each line.

This is what I was looking for, thanks. Thanks to the rest of you as well. Time to do a little experimenting...

Share this post


Link to post
Share on other sites

The next step after that is to alternate the luma line. Have GR.10 every second frame, which then gives the apparent 160 horizontal resolution.

 

I've also been meaning to try something using GR.10 alternating as the colour line, but not sure that it would look any better.

Share this post


Link to post
Share on other sites
The next step after that is to alternate the luma line. Have GR.10 every second frame, which then gives the apparent 160 horizontal resolution.

 

I've also been meaning to try something using GR.10 alternating as the colour line, but not sure that it would look any better.

 

How does having another 80 horizontal pixels resolution show a 160 horizontal pixel res.?

Share this post


Link to post
Share on other sites

Well,

afaik the german program Paint 256 uses compiled Turbo-Basic (*.CTB), but the loader routine for the pictures is also available in Turbo-Basic (*.TUR). A friend of mine has coded a ML viewer/fader with this *.TUR code to display all these 256 colour pictures, just like the old Gr. 8, 9, 15 fader programs from Antic magazine. Besides, the Paint 256 pictures are compatible to Apac-2 format (for those who use the Colorizer program by Bill Kendrick)...

 

For colourfull pictures on the A8 one may use:

- Technicolor Dream (2x39 sectors, interlaced, max. 256 sectors, approx. 80x200 pixels)

- Apac Gr. 9+11 (62 sectors, interlaced, max. 256 colors, approx. 80x192 pixels)

- Interlace Gr. 9+11 (2x62 sectors, interlaced,max. 256 colors, 80x192 pixels)

- Paint 256 Gr. 9+11 (62 sectors, non-interlaced, max. 256 colors, 80x96 pixels)

- HIP Gr. 9+10 (129 sectors, max. 30 greys, interlaced, 160x200 pixels)

- RIP Gr. 9+10 (129-153 sectors, interlaced, max. 144 colors, max. 160x238 pixels)

- TIP Gr. 9+10+11 (approx. 97-115 sectors, interlaced, max 480 colors, max. 160x119 pixels)

- CIN Gr. 15+11 (129 or 132 sectors, interlaced, 64-128 colors, 160x192 or 160x200 pixels)

- RGB 15 (3x62 sectors or RLE-compr., interlace+swimming, 4x4x4 colors, 160x192 pixels)

- RGB 9 (3x62 sectors or RLE-compr., interlace+swimming, 16x16x16 colors, 80x192 pixels)

 

To create (convert into) these picture formats one may use various PC programs or some A8 programs, like Apacview, Jview, A8JPEG, CJPEG and many many others... -Andreas Koch.

Share this post


Link to post
Share on other sites
The next step after that is to alternate the luma line. Have GR.10 every second frame, which then gives the apparent 160 horizontal resolution.

 

I've also been meaning to try something using GR.10 alternating as the colour line, but not sure that it would look any better.

 

How does having another 80 horizontal pixels resolution show a 160 horizontal pixel res.?

 

A timing bug in the GTIA causes GR 10 pixels to be off by half a color clock from either 9 or 11. If you alternate frames with either 9 or 11 then you see an apparent 160 pixels across.

Share this post


Link to post
Share on other sites

Thanks Andreas.

I have looked Paint256's directory and I have found a simple Turbo-Basic routine to load and display pictures!

Now I have to try PC to Atari conversion using the program BMPTO256.TUR (do you know another conversion program?).

Edited by Philsan

Share this post


Link to post
Share on other sites

Well,

to convert a PC picture into an Atari 256 color picture, there is the A8 program Apacview by Jeff Potter which converts *.GIF (only GIF87a) into *.APC (to make it compatible to Apac-2 or Paint 256 one would have to convert it again, e.g. with the Colorizer by Bill Kendrick). Cpegview by Raphael Espino is another a8 program, which allows one to view *.JPG pictures in Apac and C8 mode, it also allows to convert (view+save!) into RIP, TIP and CIN mode...

 

If you are interested in TIP there is also a PC program called BMP2TIP.EXE which will convert a 24Bit *.BMP file (max. 160x119 pixels) into TIP. Alas, I have found out that TIP from time to time produces ugly false colors (not as bad as RIP but still false colors). TIP has a higher horiz. resolution than the Gr. 9+11 pictures, but not so nice colors (just converted some GIF and JPG pictures on a *PAL* Atari and original blue colors often converted to purple/lilac when Apac was used, the original blue colors often converted into green colors when TIP was used... strange eh?)

 

Maybe one could ask Raphael Espino to *add a save-routine to his Cpegview program for some Apac mode* (62 sectors Apac or 62 sectors Apac-2/Paint 256 or 123-124 sectors Interlace/Digi-Paint; one of these formats would be enough, since one could use the Colorizer program then to convert between the several Gr.9+11 formats)...

 

On my Atari I used several converters: 1) to convert GIF, Pryzm and Interlace/Digi-Paint into Apac, I used Apacview, 2) to convert Technicolor Dream into Apac I used Eagle Print and TD2Apac and finally 3) to convert Apac and Interlace/Digi-Paint into Apac-2 I used the Colorizer. Thus I got a lot of Atari Gr.9+11 pictures and all in the same Apac-2 format which I can display with an Apac-2/Paint 256 Fader program by my friend Heiko Bornhorst. Maybe I should upload some of my pics and converters here ?!? But not tonight, I am going to sleep now (it`s past midnight here in Germany and I have to get up early tomorrow)... -Andreas Koch.

Edited by CharlieChaplin

Share this post


Link to post
Share on other sites

After knocking up that picture the other night, I was playing around with some other interlaced modes - see attached. A.xex looks a lot better with no artefacting but you can minimize it by turning the color down (just messes up the dither pattern a bit then).

 

MM.xex simulates a 16 hue hires mode in narrow playfield mode (as it's a Spectrum picture), and using LMS instructions on every line to give a 64x24 "attribute map" for that authentic Spectrum colour clash ;) or rather so it doesn't need two 8k screens which would be impractical if I ever tried to get anything moving in it, it's one contiguous screen buffer for the luminance that's shown using two display lists, interleaving the attribute map in GR11 (repeating each line 4 times) and odd or even lines from the GR8.

 

Oh, and apologies in advance if you have photo-sensitive epilepsy! When I tried MM.xex under Atari800 on my Mac I could still see the picture for about 30 secs after - not sure if it was burnt on the LCD or my eyes. You may have to play with the settings on an emulator to get the screen updates 1:1 or it will look like ass.

Piccies.atr.zip

post-12834-1209039001_thumb.png

post-12834-1209039012_thumb.png

post-12834-1209039037_thumb.png

Share this post


Link to post
Share on other sites

Well,

the last time I saw Heiko Bornhorst was at the Abbuc JHV 2006, he gave me his adress and e-mail there, but it looks like he has moved again, since I cannot contact him for more than a year...

 

Anyways, here are the converter programs I use on the A8... if you want to view Gr.9+11 pictures (Paint 256 / Apac-2 format) try the programs "Fade256.COM" or "Mulfade.COM" by Heiko Bornhorst. For HIP, RIP and TIP formats there is Visage 2.7...

 

-Andreas Koch.

Share this post


Link to post
Share on other sites
Well,

the last time I saw Heiko Bornhorst was at the Abbuc JHV 2006, he gave me his adress and e-mail there, but it looks like he has moved again, since I cannot contact him for more than a year...

 

Anyways, here are the converter programs I use on the A8... if you want to view Gr.9+11 pictures (Paint 256 / Apac-2 format) try the programs "Fade256.COM" or "Mulfade.COM" by Heiko Bornhorst. For HIP, RIP and TIP formats there is Visage 2.7...

 

-Andreas Koch.

 

 

Thank you very much. Will be useful for my testing purposes.

Share this post


Link to post
Share on other sites

Andreas,

1. your friend's "FADE256.COM" or "MULFADE.COM" programs work very well: is it possible to hide the upper menu?

2. what program can I use to convert gif/bmp 80x96 256 colors PC pictures to Atari paint256?

Thanks

Edited by Philsan

Share this post


Link to post
Share on other sites

That is freaking amazing! Are there any practical uses of these techniques, or is it only good for making pretty slide shows? I wonder if you could do a graphical adventure using this?

 

Tempest

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...