English Amiga Board


Go Back   English Amiga Board > Main > Retrogaming General Discussion

 
 
Thread Tools
Old 03 October 2021, 22:12   #1
TEG
Registered User
 
TEG's Avatar
 
Join Date: Apr 2017
Location: France
Posts: 567
A question (for techies) about... the Vectrex

I had a look at the Vectrex specs and how it was functioning. The cpu is a 68A09 @ 1.5MHz and the RAM is 1 KB. BIOS is 8 KB

Like the ZX80/81,The cpu is used to drive the beam and to manage the logic of the program. So according to Vectrex programmers, few cycles remain for the program itself.
I guess they choose the costly 68A09 (in 1981 the 6809 sold in single-unit quantities for roughly six times the price of a 6502) because the level of performance required by this architecture.

The Vectrex BIOS contain several routines like DRAW_FROM_XY_TO_XY, CLEAR_SCREEN which are called by the cpu.

Now my question: In your opinion, do you think would it would be possible to use two 6502 instead one 68A09? I mean one dedicated to drive the beam and another one, running the ROM (the cartridge) program? So the BIOS routines would run asynchronously?
Does a multi-processors architecture necessarily lead to overly complex problems?

There is a detail page of the internal Vectrex architecture here: https://discourse.world/h/2016/10/20...nd-Programming

Last edited by TEG; 03 October 2021 at 22:17.
TEG is offline  
Old 03 October 2021, 23:39   #2
pandy71
Registered User
 
Join Date: Jun 2010
Location: PL?
Posts: 2,741
Not sure why Vectrex use 6809 but you can imagine even more 6502 to control critical parts. Perhaps 6809 advantage was better arithmetic capabilities (HW multiplier) - not sure.
Drawing line in Vectrex is simple - set number in DAC, then another number in DAC (but as you have single DAC (why?!?) you need to switch DAC voltage with analog multiplexer) and that's all - line is draw on screen, you need of course refresh screen in regular period but generally you screen is set of the four 8 bit numbers plus perhaps control of the Z axis (i.e. enabling/disabling beam) so in total 5 bytes can describe any vector or point. Depend on how many vectors you have and your refresh rate (to avoid nasty flicker 50Hz or more) then you have you computational load.

Look at the projects using oscilloscopes as screen - some of them are capable to display quite complex image with relatively simple HW.

--
Seems 6502 was considered but too slow.
https://roadsidethoughts.com/vectrex...d-the-6502.htm

Last edited by pandy71; 03 October 2021 at 23:47.
pandy71 is online now  
Old 04 October 2021, 02:43   #3
AmigaHope
Registered User
 
Join Date: Sep 2006
Location: New Sandusky
Posts: 942
The 6809 might have been needed for the math, but honestly I would've sprung a little bit extra to add a 6502 strictly for program flow so the game code could run asynchronously from the displaylist.
AmigaHope is offline  
Old 04 October 2021, 20:03   #4
nogginthenog
Amigan
 
Join Date: Feb 2012
Location: London
Posts: 1,309
The 6809 has a multiply instruction which was rare back then.
nogginthenog is offline  
Old 05 October 2021, 09:33   #5
Tigerskunk
Inviyya Dude!
 
Tigerskunk's Avatar
 
Join Date: Sep 2016
Location: Amiga Island
Posts: 2,770
The 6809 is an all around great design that's imo miles better than the 6502.


I used to code for the Vectrex for a while, and really fell in love with the 6809. It's sad it's been only used in the CoCo line on homecomputers.
Tigerskunk is offline  
Old 05 October 2021, 14:26   #6
nogginthenog
Amigan
 
Join Date: Feb 2012
Location: London
Posts: 1,309
I grew up with a Dragon 32 (Coco clone) and know the 6809 well.

In 2019 I ordered some PCBs and built one of these:
http://jefftranter.blogspot.com/2019...-computer.html
nogginthenog is offline  
Old 05 October 2021, 23:19   #7
TEG
Registered User
 
TEG's Avatar
 
Join Date: Apr 2017
Location: France
Posts: 567
Quote:
Originally Posted by nogginthenog View Post
The 6809 has a multiply instruction which was rare back then.

I saw there is a multiplication factor to pass to draw routines, so yeah, perhaps multiplications were intensively used and maybe the 6809 was really advantageous here. I've to look how 6502 compare on this point.
TEG is offline  
Old 05 October 2021, 23:28   #8
TEG
Registered User
 
TEG's Avatar
 
Join Date: Apr 2017
Location: France
Posts: 567
Quote:
Originally Posted by nogginthenog View Post
I grew up with a Dragon 32 (Coco clone) and know the 6809 well.

In 2019 I ordered some PCBs and built one of these:
http://jefftranter.blogspot.com/2019...-computer.html
Interesting link. Here in France I saw the Dragon 32 once, at a little stand in the fair of my town. I just remember that the machine was not sexy at all in my eyes but I was interested to see how its life will develop. Well... I never hear about it again. The French market turned to the Oric.
TEG is offline  
Old 06 October 2021, 21:41   #9
TEG
Registered User
 
TEG's Avatar
 
Join Date: Apr 2017
Location: France
Posts: 567
Coincidently I was reading about the 1541 and so I learn it have its own 6502 and own OS, communicating with the C64 through a serial protocol.

So we can say its a kind of multiprocessors architecture that was developed. Not a real one as there is two OS involved but this is close to what I thought for the Vectrex.
TEG is offline  
Old 08 October 2021, 10:37   #10
pandy71
Registered User
 
Join Date: Jun 2010
Location: PL?
Posts: 2,741
Quote:
Originally Posted by TEG View Post
Coincidently I was reading about the 1541 and so I learn it have its own 6502 and own OS, communicating with the C64 through a serial protocol.

So we can say its a kind of multiprocessors architecture that was developed. Not a real one as there is two OS involved but this is close to what I thought for the Vectrex.

This is not about multiprocessing as driving vector screen could be realized trough series of DMA transfers and some "display list" RAM.

As overall seem Vectrex was made by people with idea and they didn't go for HW solution but instead they preferred SW approach with general CPU.
Perhaps they had similar approach like Apple - avoid HW, prefer SW...

Adding additional CPU mean more integrated circuits, larger PCB, more complex code... perhaps from Vectrex perspective 6809 was better than more complex HW.

Btw - as ZX80/81, Macintosh indeed use very simplistic software driven raster video signal generator then Vectrex use voltage do produce image.
Closest analogy to Vectrex is analog oscilloscope.
pandy71 is online now  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
Hello and my first question. Lostdotfish Member Introductions 3 01 December 2018 18:03
Amiga 1200...board revisions question / wire link modification question voyager_1701e support.Hardware 3 20 February 2014 12:32
Vectrex collection with 3D Imager, light-pen and complete set of games Tolls Retrogaming General Discussion 5 24 April 2011 13:45
A question amiga support.WinUAE 2 27 April 2008 04:46
A Question... DoaBlade request.Old Rare Games 2 06 January 2002 05:40

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 17:33.

Top

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Page generated in 0.10049 seconds with 15 queries