gorf68 Posted October 8, 2019 Share Posted October 8, 2019 Hello, I just tried one of my old VIC-20s and it freezes when trying to boot up into basic. It will however play all cartridges that don't boot to the prompt. So all games appear fine except for adventure games that start with the cursor prompt. Any idea what has went wrong? Is this likely a memory thing, or something wrong with the ROM? Is this a common issue? Any help would be appreciated. Quote Link to comment Share on other sites More sharing options...
brfennpocock Posted October 8, 2019 Share Posted October 8, 2019 I'd bet on the ROM being bad … Those are usually (always?) socketed ROM chips, so you could try reading it into an EPROM burner (assuming you have access to one) to verify its contents vs. one of the various on-line sources of ROM images … Quote Link to comment Share on other sites More sharing options...
carlsson Posted October 8, 2019 Share Posted October 8, 2019 Could be a ROM issue but could also be a RAM issue. Ray Carlsen suggests that bad 2114 RAM chips can cause the computer to freeze on power on. I don't know to which extent the cartridge games allocate memory for storage, otherwise you might notice strange things happen there as well. http://personalpages.tds.net/~rcarlsen/cbm/vic20/vic20.txt Quote Link to comment Share on other sites More sharing options...
gorf68 Posted October 8, 2019 Author Share Posted October 8, 2019 The ROM is socketed. Unfortunately I don't have an E-Prom programmer just now (used to) but I do have other VIC-20's, so I can try swapping the chips. If it's RAM maybe using my 16K RAM expansion cart would work, as it would be switched to a new bank location!? I'll give these a go. Quote Link to comment Share on other sites More sharing options...
awhite2600 Posted October 8, 2019 Share Posted October 8, 2019 34 minutes ago, carlsson said: Could be a ROM issue but could also be a RAM issue. Ray Carlsen suggests that bad 2114 RAM chips can cause the computer to freeze on power on. I don't know to which extent the cartridge games allocate memory for storage, otherwise you might notice strange things happen there as well. I too was thinking ROM or RAM. A bad BASIC or Kernal ROM could cause the normal startup sequence to fail. Even one bad bit could cause the instructions to go in the wrong direction. Equally likely is bad RAM used by the initialization routines. If the startup sequence uses a RAM location for something like a counter, and that location is bad, then the process could get stuck in a loop. Adding RAM expansion may not help as that increases program RAM. It does not alter the built in RAM used by BASIC and the Kernal. As carlsson mentioned, a game may appear normal if it doesn't use that "bad" bit of RAM. Quote Link to comment Share on other sites More sharing options...
carlsson Posted October 8, 2019 Share Posted October 8, 2019 Indeed, adding a memory expansion doesn't replace the built-in RAM. Quote Link to comment Share on other sites More sharing options...
gorf68 Posted October 8, 2019 Author Share Posted October 8, 2019 Ah, ok. I had it in my head that it banked to use different RAM when in 3, 8 or 16K mode was used. But it's been a long time since I've used it! So swapping and socketed ROM and RAM chips, one at a time, from my good VIC may show me what (if any) chip is at fault then? Quote Link to comment Share on other sites More sharing options...
awhite2600 Posted October 9, 2019 Share Posted October 9, 2019 20 hours ago, gorf68 said: Ah, ok. I had it in my head that it banked to use different RAM when in 3, 8 or 16K mode was used. But it's been a long time since I've used it! So swapping and socketed ROM and RAM chips, one at a time, from my good VIC may show me what (if any) chip is at fault then? The VIC did organize the memory map differently between unexpanded, 3K expanded and 8K or more expanded. That still didn't alter the placement of the built in RAM, especially the fist few kilobytes used by BASIC. I'd agree with swapping socketed ROMS first as that is pretty simple. Failing that, you'd need to unsolder and swap RAM chips. Quote Link to comment Share on other sites More sharing options...
Casey Posted October 9, 2019 Share Posted October 9, 2019 Didn't the 3K expander fit in the memory hole before the 5K that came with computer in the memory map? If the built in RAM was bad, would the computer not start at all with the 3K expander? Or could it possibly start BASIC and show less than 6656 bytes free if the memory test got up to the bad memory? (Just curious) Quote Link to comment Share on other sites More sharing options...
carlsson Posted October 9, 2019 Share Posted October 9, 2019 Hm, good thought. If the beginning of RAM is bad, perhaps that is why it freezes. I don't know if memory tested chronologically or if the built-in is tested prior to expansion memory. Quote Link to comment Share on other sites More sharing options...
awhite2600 Posted October 10, 2019 Share Posted October 10, 2019 19 hours ago, carlsson said: Hm, good thought. If the beginning of RAM is bad, perhaps that is why it freezes. I don't know if memory tested chronologically or if the built-in is tested prior to expansion memory. Commodore 8-bit computers do perform a simple memory test on startup. The purpose is to set the memory areas for BASIC. That is why, for example, a C64 with bad RAM might boot up to something like 24,576 BASIC Bytes Free instead of the usual 38,911. This test is not an exhaustive diagnostic of every byte. I recall that the boot sequence checks every 256th byte via a simple read / write. When an address is found that fails the test that location is used to set the limit for BASIC. Using different RAM expanders on a VIC do shuffle certain memory areas around. However the first 1 kilobytes of RAM - used by the kernal and BASIC - is always in the same spot and always uses the on board RAM chips. If swapping the ROMs for known, good chips doesn't help then you likely have bad on board RAM in the first 1K space. Quote Link to comment Share on other sites More sharing options...
gorf68 Posted October 10, 2019 Author Share Posted October 10, 2019 Thanks to everyone who replied. I'm going to try and have a look at this on the weekend. 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.