CPUWIZ Posted January 5, 2014 Share Posted January 5, 2014 Who wants to take a guess at what you are looking at? Jaybird3rd is not allowed to guess. 7 Quote Link to comment Share on other sites More sharing options...
+Allan Posted January 5, 2014 Share Posted January 5, 2014 1. Atari 7800 Sudoku for beginners. 2. CPUWIZ's tax return for 2013. 3. A reproduction of GCC's Atari 7800 BASIC and 7800 Atariwriter. 4. The new Mega 64K RAM/1 Meg ROM bankswitch cart w/on board Pokey. Allan 1 Quote Link to comment Share on other sites More sharing options...
jaybird3rd Posted January 5, 2014 Share Posted January 5, 2014 Who wants to take a guess at what you are looking at? Jaybird3rd is not allowed to guess. Looks like you stumped 'em. Quote Link to comment Share on other sites More sharing options...
CPUWIZ Posted January 5, 2014 Author Share Posted January 5, 2014 Yeah, nobody is even taking a guess. How is this for a clue? INC $1006 DEC $2812 INC $3000 DEC $4009 INC $7003 1 Quote Link to comment Share on other sites More sharing options...
Trebor Posted January 5, 2014 Share Posted January 5, 2014 I wish I was tech savy enough to even provide an intelligent guess. Looks cool though, and always love seeing new developments. Quote Link to comment Share on other sites More sharing options...
OldSchoolRetroGamer Posted January 5, 2014 Share Posted January 5, 2014 Something wonderful no doubt! Quote Link to comment Share on other sites More sharing options...
+grips03 Posted January 6, 2014 Share Posted January 6, 2014 Y2K fix? 2 Quote Link to comment Share on other sites More sharing options...
toiletunes Posted January 6, 2014 Share Posted January 6, 2014 High tech cybercrime bank robbery circa 1986? Quote Link to comment Share on other sites More sharing options...
Jinks Posted January 6, 2014 Share Posted January 6, 2014 I dont know was reading on commands inc and dec and what they do.. but its in one ear and out the other. I mean eye and out.. well my brains read/write command is damaged.. Quote Link to comment Share on other sites More sharing options...
CPUWIZ Posted January 6, 2014 Author Share Posted January 6, 2014 Where is Bob? LOL 1 Quote Link to comment Share on other sites More sharing options...
CPUWIZ Posted January 6, 2014 Author Share Posted January 6, 2014 You guys suck. That was kind of hard to figure out. You have no idea how many EPROM's I had to erase, re-burn and re-test. Nevermind the countless iterations of the PLD code programming. 2 Quote Link to comment Share on other sites More sharing options...
Marc Oberhäuser Posted January 6, 2014 Share Posted January 6, 2014 PLD-Pokey? Quote Link to comment Share on other sites More sharing options...
PacManPlus Posted January 6, 2014 Share Posted January 6, 2014 128K ROM with Bank Switchable RAM at $4000? EDIT - Hold on, how are you accessing addresses at $1xxx, $2xxx, $3xxx, and $4xxx? Is that RAM there? :!: :!: If that's the case, remember the HSC uses (I believe) $3000+ 1 Quote Link to comment Share on other sites More sharing options...
Eckhard Stolberg Posted January 6, 2014 Share Posted January 6, 2014 Considering that there recently was discussion of how much RAM the 7800 could address, and looking at the addresses you are changing in your code example, I guess you've been experimenting with mapping cartridge RAM into every bit of unused address space below address $8000. Since the area below $1000 is mostly used for mirrors of the MARIA and TIA registers and the zero page RAM, and since there is 7800 system RAM between $1800 and $27FF, that would make 28K of continuously addressable RAM of which the Megacart+ provides 24K. So the demo program is probably testing if you got all the free address blocks without colliding with the used ones. Is that what we are seeing in your video? 1 Quote Link to comment Share on other sites More sharing options...
CPUWIZ Posted January 6, 2014 Author Share Posted January 6, 2014 Yep, I managed to map the cart RAM to $1000-$17FF and $2800-$7FFF, but it's a moot point. This seems to only work on my most troublesome system. Quote Link to comment Share on other sites More sharing options...
Jaynz Posted January 6, 2014 Share Posted January 6, 2014 So we've hit the upper limit now, if I'm reading this correctly? Interesting - from the looks of it, though, we can hit anything from the NES and below in terms of RAM use. That's a lot to play with in classic design. Now let's get CPUWIZ to make a SID-capable cart? Quote Link to comment Share on other sites More sharing options...
CPUWIZ Posted January 6, 2014 Author Share Posted January 6, 2014 Since I am sick today, I just had a little bit of time to mess with it some more. The culprit is $2800-$2FFF, mapping $1000-$17FF and $3000-$7FFF works on all 5 of my 7800's. And yes, I don't care if this works with the HSC or XM, it's about figuring out how far you can push the stock 7800 with a cart. 5 Quote Link to comment Share on other sites More sharing options...
Eckhard Stolberg Posted January 7, 2014 Share Posted January 7, 2014 It would be a shame, if you couldn't get this memory configuration to work. Even though the zero page and stack RAM are mirrored in the system RAM, it would be really nice to have so much continuously addressable RAM. The 7800 programming manual mentions that $2800-$3FFF are the same as $2000-$27FF, but since it clearly isn't the case in one of your 7800s, I don't think that it's true. Maybe it's a timing issue. Didn't Atari add a special circuit to later models of the 7800 that changes the timing of the address bus in order to fix issues with 2600 games that use superchip RAM? IIRC, this circuit breaks compatibility with bankswitching schemes that rely on counting address bus changes, like FE bankswitching or the Supercharger. I think it had something to do with pulling all address bus lines low once per cycle in order to make sure that the superchip RAM wouldn't react to incorrect addresses before the address bus was stable. Maybe the internal 7800 RAM is affected by this too. Could something like this cause the problems you are experiencing with your Megacart? Quote Link to comment Share on other sites More sharing options...
CPUWIZ Posted January 7, 2014 Author Share Posted January 7, 2014 I don't think that it's a timing issue, on most of my 7800's it actually writes to the stock RAM, when $2800-$2FFF are written to. So I lose 2K, not the end of the world. But yeah, it's strange that one of my systems does not. Quote Link to comment Share on other sites More sharing options...
Lynxpro Posted January 7, 2014 Share Posted January 7, 2014 I find it suspicious that Atari Corp would add a timing circuit just to allow rare SuperCharger games to run on later 7800s. More likely, they had to add it due to some other cost revision made to the system to maintain existing compatibility and performance... Quote Link to comment Share on other sites More sharing options...
Trebor Posted January 16, 2014 Share Posted January 16, 2014 Looking at what Atari had planned back in the day, before all the cuts, per the official Atari 7800 Development Kit:It appears CPUWIZ is achieving that and so much more; incredible! 2 Quote Link to comment Share on other sites More sharing options...
CPUWIZ Posted January 17, 2014 Author Share Posted January 17, 2014 Funny you bumped this today, in my spare time, I experimented with more than just a PIC driving LED's via software. I actually figured out how to have the PLD monitor an address range for access, then tell the PIC to do something AND this is the important part: I figured out how the cartridge interrupt works (with a little help from Eckhard Stolberg, Dan Boris never even read the PM I sent him weeks ago - LOL)! The PIC can now talk to the cartridge IRQ pin and trigger a software interrupt within the 7800, in other words, I have figured out how to do a handshake. More possibilities! I'll post a boring video of it, maybe later. 1 Quote Link to comment Share on other sites More sharing options...
Lynxpro Posted January 17, 2014 Share Posted January 17, 2014 Was that Atari Corp or Atari Inc/GCC engineering behind that design? Quote Link to comment Share on other sites More sharing options...
CPUWIZ Posted January 17, 2014 Author Share Posted January 17, 2014 Boring video, as promised... Joystick tells 7800 to write to $1000, PLD tells PIC that it happened, PIC tells LED to go on, stay there for 'N' milliseconds, then pull the IRQ line on the cart low for a period of 'N' cycles (been too lazy to figure out the MHz ratio, so far). What happens then, is the BRK interrupt vector gets executed by the CPU and I simply pointed the interrupt vector at a small routine, that just increments a number, which is displayed every frame, by the main loop. So: JoyUP -> PLD -> PIC -> 7800 Could be interesting, right? CARTIRQ: INC DEBUG_NUMBER RTI 1 Quote Link to comment Share on other sites More sharing options...
Jinks Posted January 17, 2014 Share Posted January 17, 2014 It could generate the first perpetual motion machine and possibly create a blackhole.. one of the two. You better think what your doing before all of mankind bows before 7800. 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.