-
Posts
2,262 -
Joined
-
Last visited
Content Type
Profiles
Forums
Blogs
Gallery
Events
Store
Community Map
Everything posted by Al_Nafuur
-
VID_20230917_184801.mp4 (re)tested on the PlusCart with the new build: DPC: Activision Pitfall II OK F8SC: Atari Defender OK F6SC: Atari Dig Dug not working CV: CommaVid Video Life running but half of the RAM is not written correctly? F0: DynaCom Mega Boy OK E0: Parker Bros Super Cobra OK E7: M-Network Burgertime not working
-
Compatibility list for all bankswitching types
Al_Nafuur replied to Al_Nafuur's topic in StellaXYZ's Topics
I made some changes to our write cycle, now Pitfall II (DPC banking) works. Unfortunately the changes slowed the emulation even more down: VID_20230917_184801.mp4 -
Stelladapter?
-
Everything that is supported by Stella running on a Pi
-
Currently we are using Stella to emulate all outside of the cartridge.
-
Compatibility list for all bankswitching types
Al_Nafuur replied to Al_Nafuur's topic in StellaXYZ's Topics
Can I emulate this (left pin 5 and right pin 9 dumped) in the debugger? -
Compatibility list for all bankswitching types
Al_Nafuur replied to Al_Nafuur's topic in StellaXYZ's Topics
Yes, that is exactly how it looks like in the debugger: There is no bankswitching in Stella, it is in the cartridge! The CartPort driver doesn't know (just like a real 2600) anything about banking and they both don't need to know, its all happening inside the cartridge and we don't care. -
It looks like the 4 has some changes to the GPIO handling, so indeed the code may has to be adapted to the 4.
-
Compatibility list for all bankswitching types
Al_Nafuur replied to Al_Nafuur's topic in StellaXYZ's Topics
I tested the Spectravideo CompuMate yesterday. It seems it is not working on the 2600 without the 2 joystick plugs plugged in. On a real 2600 the screen stays black if the plugs are not plugged. On my breadboard the screens stays also black, the code in Stella debugger looks okay, but stays in an endless loop. Is there anything known about the protocol used by the compumate? Would a stelladaptor (or something similar) handle this communication? -
You can rip the off of an 2600. But you also can buy a new one: https://letmegooglethat.com/?q=24+pin+edge+connector+buy sorry couldn't resist There is also a few threads here on AA about buying them. https://www.google.com/search?q=site%3A+fourum.atariage.com+buy+24+pin+edge+connector&sca_esv=565782341&hl=de&ei=Re4EZZetJsaHxc8PwM2o2AY&ved=0ahUKEwjX4_fl562BAxXGQ_EDHcAmCmsQ4dUDCA8&uact=5&oq=site%3A+fourum.atariage.com+buy+24+pin+edge+connector&gs_lp=Egxnd3Mtd2l6LXNlcnAiM3NpdGU6IGZvdXJ1bS5hdGFyaWFnZS5jb20gYnV5IDI0IHBpbiBlZGdlIGNvbm5lY3RvcjIFECEYoAFIiI4BUMMEWMWFAXABeAGQAQCYAZABoAG9FqoBBTE0LjE0uAEDyAEA-AEB-AECwgIKEAAYRxjWBBiwA8ICCxAAGIAEGLEDGIMBwgILEC4YigUYsQMYgwHCAgsQABiKBRixAxiDAcICERAuGIAEGLEDGIMBGMcBGNEDwgILEC4YgAQYsQMYgwHCAgcQABiKBRhDwgIOEC4YgAQYsQMYxwEY0QPCAggQLhiABBixA8ICBRAAGIAEwgIHEC4YigUYQ8ICCBAAGIAEGLEDwgIWEC4YigUYQxiXBRjcBBjeBBjgBNgBAcICChAAGIoFGLEDGEPCAgsQLhiABBjHARjRA8ICBhAAGBYYHsICCBAAGBYYHhgPwgIQEAAYFhgeGA8Y8QQYyQMYCsICCxAAGIoFGJIDGLgEwgIIEAAYigUYkgPCAggQABgWGB4YCsICBxAAGBMYgATCAggQABgWGB4YE8ICHxAuGA0YgAQYsQMYgwEYsQMYgwEYxwEYrwEYmAUYmQXCAhwQLhgNGIAEGLEDGIMBGLEDGMcBGK8BGJgFGJkFwgIZEC4YDRiABBixAxixAxjHARivARiYBRiZBcICGRAuGA0YgwEYrwEYxwEYsQMYgAQYmAUYmQXCAgcQABgNGIAEwgIoEC4YDRiABBixAxiDARjHARivARiYBRiZBRiXBRjcBBjeBBjgBNgBAcICDRAAGBYYHhgPGPEEGArCAgoQABgWGB4YDxgKwgIFEAAYogTiAwQYACBBiAYBkAYIugYGCAEQARgU&sclient=gws-wiz-serp#ip=1
-
If we would only do the switching in an endless loop, we could do much higher frequencies (with occasional hick-ups from the OS scheduler).
-
We are switching (nearly) the whole port at once at the hardware level. This only takes a few ns.
-
Without the interrupt very briefly. I guess it is nearly the same than the 6502 needs to setup the address bus.
-
Setting up the Raspberry Pi development environment: Download Raspberry 64bit PiOS (here) Install it to an SD Connect the Raspberry Pi to your breadboard (HowTo) Boot the Pi On a Pi3 I recommend resizing the 100MB swap file to at least 1GB (HowTo) If you like to make changes to the code, install any code editor/IDE you like (Install VS Code HowTo). Clone the Stella fork and switch to the dev branch. Open the LXTerminal and type: cd /path/to/your-git-dir/ git clone https://github.com/Al-Nafuur/stella.git cd stella git checkout feature/cartridgeport Install SDL2 dev. Open the LXTerminal and type: sudo apt-get update sudo apt-get install libsdl2-dev Build Stella. Open the LXTerminal and type: cd /path/to/your-git-dir/stella ./configure --host=rtstella && make -j2 all current build needs root rights to access GPIO and timer hardware directly building and linking takes about 1 hour Download this file to your ROMs dir: CartridgePort.bin Start Stella. Open the LXTerminal and type: cd /path/to/your-git-dir/stella echo performance > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor sudo ./stella -plr.timemachine 0 -dev.timemachine 0 /path/to/your-ROM-dir/CartridgePort.bin The rtstella build needs to be started without nice and timemachine disabled, also the file selector doesn't worked so you have to load the bin file at startup Before you insert or remove a cartridge from the port unplug the 5V wire from the breadboard and reattach it when the cart is plugged in. After you have plugged in the 5V you can start the cart by selecting the bin file in the Stella file selector.
-
Here is some information how to connect the components (might change in the future): Raspberry Pi SN74LVC245AN 2600 Cartridge Port 5V +5V (pin 23) 3V3 Vcc (pin 20) GND GND, OE (pin 10,19) GND, sGND (pin 12,24) GPIO 0 - GPIO 12 A0 - A12 (pin 8-1,22,21,19,20,18) GPIO 13 - GPIO 20 A1 - A8 (pin 2-9) GPIO 21 DIR (pin 1) B1 - B8 (pin 18-11) D1 - D8 (pin 9-11,13-17)
-
For me the focus is on DIY and open source. We might switch to a cheaper/better board. But the Pi is very well documented and there are a lot of examples and projects for the pi out there. There is a Pi like board with same RockChip CPU like the 2600+ (mentioned here) https://www.amazon.com/Geniatech-XPI-3128-Development-Card-Sized-Performance/dp/B09LV46V5Q
-
Here are some ChatGPT3.5 proposals: Here are some name ideas for your Retro Computer Project that combines emulating an Atari 2600 with a Raspberry Pi and the Stella emulator while focusing on keywords like "Stella," "Raspberry Pi," "2600," "Emulator," "Open Source," "DIY," "Console," "Revive," and "Hardware": 1. RetroStellaPi 2600 2. Pi2600 Revival 3. StellaRetro Console 4. Raspberry 2600 Emulate 5. DIY Atari Resurgence 6. OpenPi 2600 Project 7. Hardware 2600 Revive 8. StellaPi Console 9. 2600 EmuRevival 10. Raspberry 2600 Reborn 11. DIY Stella Console 12. Revive2600Pi 13. RetroEmu 2600 Hardware 14. PiStella Revival 15. 2600 Reconstructed 16. StellaBox DIY 17. RetroRaspberry 2600 18. Open Source AtariPi 19. StellaPi Resurrection 20. 2600 Hardware RetroFit Feel free to mix and match these suggestions or modify them to create a unique and fitting name for your project.
-
Yes, almost. Because we are not running on a RTOS the GPIO port for the address (+data on writes) has to be switched with one 32bit "write". Unfortunately the CPU of the Pi doesn't support this. We first have to define the bits that should be cleared and then the bits that have to be set. If the OS scheduler interrupts our thread between these to writes, the bus looks for the cart like a read/write to address $00
-
I have a weak spot for DIP Switch cartridges. Is it separatly available?
-
Compatibility list for all bankswitching types
Al_Nafuur replied to Al_Nafuur's topic in StellaXYZ's Topics
I have one, already tested -> Black screen -
Yes
-
Banking Publisher Game PlusCart UnoCart Harmony Cartridge 2K Atari Combat OK untested untested OK CV CommaVid Video Life OK untested untested untested (no cart) 4K Atari Missile Command OK untested untested OK F8 Atari Galaxian/Ms.PacM OK untested OK (MarcoJ) OK F6 Atari RS Boxing OK untested untested OK F4 Atari Fatal Run OK untested untested untested (no cart) FA CBS Omega Race OK untested untested OK (MarcoJ) F0 Dynacom Mega Boy OK untested untested untested (no cart) DF Homebrew PrinceOfIndiana 2 OK untested untested untested (no cart) BF Homebrew untested untested untested untested (no cart) F8SC Atari Defender OK untested untested untested (no cart) F6SC Atari Dig Dug OK untested untested OK (Kroko) F4SC Homebrew Aardvark Demo OK untested untested untested (no cart) DFSC Homebrew Penult Demo OK untested untested untested (no cart) BFSC Homebrew untested untested untested untested (no cart) 32in1 Atari 32 in 1 untested untested untested OK (5V on/off switches games) FE Activision Decathlon Crashes at startup untested untested Crashes at startup DPC Activision Pitfall II OK untested untested OK ? (MarcoJ) E0 Parker Bros Super Cobra OK untested untested untested (no cart) 3F Tigervision River Patrol OK untested untested untested (no cart) E7 M-Network Burgertime OK untested untested untested (no cart) DPC+ Homebrew not supported untested untested untested (no cart) CDFJ Homebrew not supported untested untested untested (no cart) CDFJ+ Homebrew not supported untested untested untested (no cart) ACE Homebrew untested untested not supported untested (no cart) ELF Homebrew untested untested not supported untested (no cart) AR Starpath SuperCharger Crash after load screen untested untested Crashes at startup GL CVC GameLine MM not supported not supported not supported Crashes at startup CM Spectravideo Compumate Black Screen untested untested Black Screen (needs Joystick plugs) MVC rbairos MovieCart not supported not supported not supported untested
