03 October 2021, 22:12 | #1 |
Registered User
Join Date: Apr 2017
Location: France
Posts: 586
|
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. |
03 October 2021, 23:39 | #2 |
Registered User
Join Date: Jun 2010
Location: PL?
Posts: 2,776
|
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. |
04 October 2021, 02:43 | #3 |
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.
|
04 October 2021, 20:03 | #4 |
Amigan
Join Date: Feb 2012
Location: London
Posts: 1,311
|
The 6809 has a multiply instruction which was rare back then.
|
05 October 2021, 09:33 | #5 |
Inviyya Dude!
Join Date: Sep 2016
Location: Amiga Island
Posts: 2,775
|
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. |
05 October 2021, 14:26 | #6 |
Amigan
Join Date: Feb 2012
Location: London
Posts: 1,311
|
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 |
05 October 2021, 23:19 | #7 | |
Registered User
Join Date: Apr 2017
Location: France
Posts: 586
|
Quote:
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. |
|
05 October 2021, 23:28 | #8 | |
Registered User
Join Date: Apr 2017
Location: France
Posts: 586
|
Quote:
|
|
06 October 2021, 21:41 | #9 |
Registered User
Join Date: Apr 2017
Location: France
Posts: 586
|
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. |
08 October 2021, 10:37 | #10 | |
Registered User
Join Date: Jun 2010
Location: PL?
Posts: 2,776
|
Quote:
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. |
|
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 |
|
|