Re: Vulcan-74 - A 6502 Retro MegaProject
Posted: Tue Oct 20, 2015 1:10 pm
Good news, the 6502 has now passed the 24 hour 10MHz marathon.
To pass this test, the 6502 had to continually fill the entire 400x300 screen with pixels, drawing them the slow way (one at a time directly).
Every pixel is then read back and verified for color value. After that, the 6502 draws a scrolling PlayField and then flips the Video Buffers.
If anything goes wrong with RW timing, then the system would lock up.
I started running the test program Sunday, and it was still working this morning.
I have also verified that the 6502 will run stable at 20Mhz using my 2 gate RW-CLK circuit.
The Boot Loading hardware does not affect performance as it goes invisible once the 6502 is taken out of reset.
Where I may have issues beyond 10MHz is the reading of registers on the Vulcan Video Board.
My IO system decodes IO lines at address 512, using a series of 74HC138's triggered by a 74HC688.
For writing to IO, 20MHz works fine, but during a read, the additional propagation of 16ns will put my timing out of the safety zone.
I am considering adding a 74HC74 that will hold the 6502 clock back a cycle when it encounters a read sequence.
Since reads only account for maybe 1 out of 100 cycles, this would still allow me to claim 20MHz operation.
I will post a few IO schematics soon, and continue testing to figure out how far I can push up the 6502 clock.
My goal is not to exceed what should work properly, but I do intend to stand at the very edge of the cliff.
I am very much enjoying coding in 6502 Assembly, and the Kowalski Assembler feels good so far!
6502 Assembly feels native to me now, as it is so similar to AVR Assembly. No learning curve.
http://www.exifpro.com/utils.html
With the Visual Basic conversion program, I just save the Binary Image from the Assembler, press convert, and then press the "Program" button on AVR Studio. Within 10 seconds, Vulcan-74 then loads the 6502 Program memory and I see the results on the screen.
Once I get the 6502 clock speed set to the maximum, I will do some coding, and show the full extent of what a 6502 is capable of when it commands a Video Game System comprised of nothing but 7400 Logic and a few SRAMs.
Even at 40 years of age, the 6502 can still kick some ass!
Cheers!
Radical Brad
To pass this test, the 6502 had to continually fill the entire 400x300 screen with pixels, drawing them the slow way (one at a time directly).
Every pixel is then read back and verified for color value. After that, the 6502 draws a scrolling PlayField and then flips the Video Buffers.
If anything goes wrong with RW timing, then the system would lock up.
I started running the test program Sunday, and it was still working this morning.
I have also verified that the 6502 will run stable at 20Mhz using my 2 gate RW-CLK circuit.
The Boot Loading hardware does not affect performance as it goes invisible once the 6502 is taken out of reset.
Where I may have issues beyond 10MHz is the reading of registers on the Vulcan Video Board.
My IO system decodes IO lines at address 512, using a series of 74HC138's triggered by a 74HC688.
For writing to IO, 20MHz works fine, but during a read, the additional propagation of 16ns will put my timing out of the safety zone.
I am considering adding a 74HC74 that will hold the 6502 clock back a cycle when it encounters a read sequence.
Since reads only account for maybe 1 out of 100 cycles, this would still allow me to claim 20MHz operation.
I will post a few IO schematics soon, and continue testing to figure out how far I can push up the 6502 clock.
My goal is not to exceed what should work properly, but I do intend to stand at the very edge of the cliff.
I am very much enjoying coding in 6502 Assembly, and the Kowalski Assembler feels good so far!
6502 Assembly feels native to me now, as it is so similar to AVR Assembly. No learning curve.
http://www.exifpro.com/utils.html
With the Visual Basic conversion program, I just save the Binary Image from the Assembler, press convert, and then press the "Program" button on AVR Studio. Within 10 seconds, Vulcan-74 then loads the 6502 Program memory and I see the results on the screen.
Once I get the 6502 clock speed set to the maximum, I will do some coding, and show the full extent of what a 6502 is capable of when it commands a Video Game System comprised of nothing but 7400 Logic and a few SRAMs.
Even at 40 years of age, the 6502 can still kick some ass!
Cheers!
Radical Brad