Spectrum 512 routine; how does it work?

All 680x0 related coding posts in this section please.

Moderators: simonsunnyboy, Mug UK, Zorro 2, Moderator Team

qwe
Atari nerd
Atari nerd
Posts: 46
Joined: Mon Oct 29, 2012 10:06 pm

Spectrum 512 routine; how does it work?

Postby qwe » Wed Sep 05, 2018 3:11 pm

Hi friends!!!
Is there anyone who can explain to me how the spectrum 512 routine works?
Are there any image conversion tools?

Thank you

User avatar
troed
Atari God
Atari God
Posts: 1421
Joined: Mon Apr 30, 2012 6:20 pm
Location: Sweden

Re: Spectrum 512 routine; how does it work?

Postby troed » Wed Sep 05, 2018 4:01 pm

In short: Synchronize CPU to video pointer, then switch palette as often as you can, making more colours available per scanline (with limitations).

I'd recommend MPP or PhotoChrome 6 if you want to play around with this yourself.

http://www.leonik.net/dml/sec_pcs.py
https://github.com/zerkman/mpp

(I used PhotoChrome 6 for the high colour pictures in the demo {Closure} with my own template and display routine)

qwe
Atari nerd
Atari nerd
Posts: 46
Joined: Mon Oct 29, 2012 10:06 pm

Re: Spectrum 512 routine; how does it work?

Postby qwe » Thu Sep 06, 2018 8:19 am

Thank you for your replay.
I'm interested in showing images in a standard ST, not STE.
I'm a bit confused about the display routine, is there a standard or does every programmer have to implement his routine?
Can you post an example of display routine?

jury
Captain Atari
Captain Atari
Posts: 290
Joined: Tue Sep 21, 2004 11:11 am
Location: Poland

Re: Spectrum 512 routine; how does it work?

Postby jury » Thu Sep 06, 2018 12:15 pm

qwe wrote:example of display routine?


viewtopic.php?f=16&t=1650&p=9862

rockyone
Captain Atari
Captain Atari
Posts: 440
Joined: Thu Jan 20, 2011 8:47 pm
Location: France
Contact:

Re: Spectrum 512 routine; how does it work?

Postby rockyone » Thu Sep 06, 2018 1:45 pm

qwe wrote:Can you post an example of display routine?

the routines that I use in MI-3.PRG:
SPECTRUM.zip


See also this topic:
http://www.atari-forum.com/viewtopic.php?f=16&t=30445&p=302034&hilit=ENHANCED+SPECTRUM#p302034
You do not have the required permissions to view the files attached to this post.


Social Media

     

Return to “680x0”

Who is online

Users browsing this forum: No registered users and 1 guest