Commodore 64 BASIC Amiga style Hold and Modify Mode 2
Jacob Dahlen
FUN FACT #1: AMD's 3Ghz Epyc Rome CPU has 39,540,000,000 transistors vs. the MOS 6502 with it's 4,528 transistors. It is therefore possible to create a 64-bit MOS 6510 compatible CPU(about 36,224 transistors) with a clock speed of 4Ghz using current CPU manufacturing technology.
FUN FACT #2: The universities have already produced multicore 8-bit CPUs that run at 150GHz or more in the lab.
FUN FACT #3: Unlike real hardware, you can get an emulator to do anything you want.
About a year ago I started playing around with the emulator's source code. I wanted to see what I could get the POKE statement to do. So the first I got the emulator to play DVDs. See lines 270-274: https://github.com/fatman2021/project-manhattan/blob/master/c64dvd-p.bas
Then I added 32-bit color support and 64-bit registers. c64dvd-p.bas lines 275-306
Next I exposed the FreeBASIC runtime library's pset, getmouse, and cls commands. c64dvd-p.bas lines 307-318
After that I gave the emulator the ability to render images using generated POV-ray code. c64dvd-p.bas lines 319-921
Using POV-ray turned out to be to slow. So I tried Blender instead. Lines 439-1113: https://github.com/fatman2021/project-manhattan/blob/master/c64dvd-b.bas
This was good for simple scenes, but for more complex ones it was too slow. So I switched to GLSL as a result. https://github.com/fatman2021/project-manhattan/blob/master/c64dvd-glsl.bas (lines 634-896) https://github.com/fatman2021/project-manhattan/blob/master/glsl.bi (all)
The emulator generates a line of GLSL script based of the value written to address 49314. The GLSL script is then compiled and executed 0 is written to address 49313.
The demo will not run on a stock c64/c128. You will need custom hardware and a second monitor.
Build a 65c02-based computer from scratch: https://www.youtube.com/watch?v=LnzuMJLZRdU&list=PLowKtXNTBypFbtuVMUVXNR0z1mu7dp7eH
Building an 8-bit breadboard computer: https://www.youtube.com/watch?v=HyznrdDSSGM&list=PLowKtXNTBypGqImE405J2565dvjafglHU
How "oldschool" graphics worked Part 1 - Commodore and Nintendo: https://www.youtube.com/watch?v=Tfh0ytz8S0k
How "oldschool" graphics work, part 2-Apple and Atari https://www.youtube.com/watch?v=_rsycfDliZU
How "Oldschool" Sound/Music worked https://www.youtube.com/watch?v=q_3d1x2VPxk
Reverse emulating the NES to give it SUPER POWERS: https://www.youtube.com/watch?v=ar9WRwCiSr0
Making of "Reverse emulating the NES...": https://www.youtube.com/watch?v=hTlNVUmBA28
Let's build a video card Part 1: https://www.youtube.com/watch?v=l7rce6IQDWs
Let's build a video card Part 2: https://www.youtube.com/watch?v=uqY3FMuMuRo
Shader Tutorial Series: https://www.youtube.com/watch?v=HIvNePu7UEE&list=PL4neAtv21WOmIrTrkNO3xCyrxg4LKkrF7&index=2&t=0s
Boot Sector Games: https://www.a ... https://www.youtube.com/watch?v=hAwfpXWlVPQ
4001603 Bytes