Welcome, Guest. Please login or register.

Author Topic: Some kind of fast RAM configuration issue?  (Read 3325 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline commodorejohnTopic starter

  • Hero Member
  • *****
  • Join Date: Mar 2010
  • Posts: 3165
    • Show only replies by commodorejohn
    • http://www.commodorejohn.com
Some kind of fast RAM configuration issue?
« on: November 01, 2010, 04:36:04 AM »
So here's a problem. I have an Amiga 2500 (Kickstart 3.1) with (currently) two boards in it: an A2630 accelerator with 2MB of 32-bit RAM onboard, and a GVP Impact HC+8 Series II SCSI controller. Until today, the GVP card had 2MB of RAM installed, and all was well with the world. However, I ordered some more SIMMs, planning to max out my Amiga's fast RAM by bringing the GVP card up to 6MB, and that's where things got a little odd. When I installed the SIMMs and set the jumpers for 6MB, the Amiga powered on, went through its basic POST sequence, and...displayed the Kickstart "insert disk" screen.

I set the jumpers back to 2MB and it worked fine, then I tried the 4MB setting and had no trouble; Workbench displayed a total of about 6MB fast RAM. It's only when I set the jumpers to 6MB that it malfunctions and fails to detect the hard disk. However, when I boot into Workbench from a floppy, it does display a total of 8MB fast RAM. What's going on here? Is there some kind of extra "hidden" memory on one of these boards that's throwing the auto-configure for a loop? Or is there memory that the SCSI controller uses to talk to the hard disk, but can't get to because all the fast RAM space is taken?
Computers: Amiga 1200, DEC VAXStation 4000/60, DEC MicroPDP-11/73
Synthesizers: Roland JX-10/MT-32/D-10, Oberheim Matrix-6, Yamaha DX7/FB-01, Korg MS-20 Mini, Ensoniq Mirage/SQ-80, Sequential Circuits Prophet-600, Hohner String Performer

"\'Legacy code\' often differs from its suggested alternative by actually working and scaling." - Bjarne Stroustrup
 

Offline Thomas

Re: Some kind of fast RAM configuration issue?
« Reply #1 on: November 01, 2010, 06:01:59 AM »
Not only RAM, but *everything* on the Zorro2 bus needs to fit into the 8 MB address space. I am sure the GVP needs a few byes for SCSI I/O, so if you fill up the entire space with RAM, the SCSI does not fit in.

Offline Zac67

  • Hero Member
  • *****
  • Join Date: Nov 2004
  • Posts: 2890
    • Show only replies by Zac67
Re: Some kind of fast RAM configuration issue?
« Reply #2 on: November 01, 2010, 11:46:56 AM »
Quote from: Thomas;588437
Not only RAM, but *everything* on the Zorro2 bus needs to fit into the 8 MB address space. I am sure the GVP needs a few byes for SCSI I/O, so if you fill up the entire space with RAM, the SCSI does not fit in.


Not entirely true - there are two distinct AutoConfig spaces: $200000-$9FFFFF for large allocations (8 MB total) and $E90000-$EFFFFF (7x 64 KB) for small allocations (i.e. I/O). Any additional board failing to allocate memory space will just stay unconfigured/shut up.

So, in theory this should work. A possible problem might be that the two chunks get linked together and something rises from that. Have you tried adjusting the mask value of your partitions so the buffers don't end up in 32 bit RAM? Another approach may be to limit the GVP to 4 MB and AddMem the last 2 MB manually after booting (depending on the board's hardware this may not work).
 

Offline commodorejohnTopic starter

  • Hero Member
  • *****
  • Join Date: Mar 2010
  • Posts: 3165
    • Show only replies by commodorejohn
    • http://www.commodorejohn.com
Re: Some kind of fast RAM configuration issue?
« Reply #3 on: November 01, 2010, 01:21:16 PM »
Hmm, interesting. There doesn't look to be any jumpers for the mask value on the amiga.resource.cx page or the manual therein; is there some other way I'd have to do this? Or with the AddMem route, how do I go about finding out what parameters to use with this card?
Computers: Amiga 1200, DEC VAXStation 4000/60, DEC MicroPDP-11/73
Synthesizers: Roland JX-10/MT-32/D-10, Oberheim Matrix-6, Yamaha DX7/FB-01, Korg MS-20 Mini, Ensoniq Mirage/SQ-80, Sequential Circuits Prophet-600, Hohner String Performer

"\'Legacy code\' often differs from its suggested alternative by actually working and scaling." - Bjarne Stroustrup
 

Offline Zac67

  • Hero Member
  • *****
  • Join Date: Nov 2004
  • Posts: 2890
    • Show only replies by Zac67
Re: Some kind of fast RAM configuration issue?
« Reply #4 on: November 01, 2010, 09:24:22 PM »
The mask values need to be changed in HDToolBox. You need to use e.g. ShowConfig to find out which RAM maps where.

If for instance the GVP maps from 0x200000-0x7FFFFF you'd use a mask value of 0x7FFFFC to force the buffers to 16 bit RAM.
If the 2630 maps from 0x200000-0x3FFFFF it's a bit more difficult as the masking scheme isn't really designed for this... 0xDFFFFC could do the trick.
 

Offline commodorejohnTopic starter

  • Hero Member
  • *****
  • Join Date: Mar 2010
  • Posts: 3165
    • Show only replies by commodorejohn
    • http://www.commodorejohn.com
Re: Some kind of fast RAM configuration issue?
« Reply #5 on: November 02, 2010, 02:25:46 PM »
Okay, when the GVP card is set for 8MB, ShowConfig shows the A2630 mapped at 0x200000 to 0x3FFFFF and the GVP has two fast RAM slots (0x400000-0x5FFFFF and 0x600000-0x9FFFFF) and one I/O slot (0xE90000-E9FFFF.) However, HDToolbox complains about "driver not installed," yet when I reboot in 2MB mode, it simply doesn't display any drives in the list, despite the hard drive being recognized and bootable. Puzzlement!
Computers: Amiga 1200, DEC VAXStation 4000/60, DEC MicroPDP-11/73
Synthesizers: Roland JX-10/MT-32/D-10, Oberheim Matrix-6, Yamaha DX7/FB-01, Korg MS-20 Mini, Ensoniq Mirage/SQ-80, Sequential Circuits Prophet-600, Hohner String Performer

"\'Legacy code\' often differs from its suggested alternative by actually working and scaling." - Bjarne Stroustrup
 

Offline SpeedGeek

Re: Some kind of fast RAM configuration issue?
« Reply #6 on: January 21, 2011, 02:24:31 AM »
What rev is your motherboard? The A2630 can be configured for 2 or 4 meg of RAM. So I would check the jumper setting to make sure it's not trying to grab 4 meg of Zorro2 space. Also, the mask value is only used for DMA and the GVP scsi driver should fall back to PIO for non-DMAable memory. But all Zorro2 memory is DMAable so I don't see how this could be the problem in any case.
« Last Edit: January 21, 2011, 02:28:03 AM by SpeedGeek »
 

Offline tone007

Re: Some kind of fast RAM configuration issue?
« Reply #7 on: January 21, 2011, 02:31:21 AM »
Those two cards never played well together in my experience.  I gave up and set the GVP card for 0MB and used a Supra card for RAM, I believe.
3 Commodore file cabinets, 2 Commodore USB turntables, 1 AmigaWorld beer mug
Alienware M14x i7 laptop running AmigaForever
 

Offline AmigaEd

  • His Dudeness, El Duderino
  • Hero Member
  • *****
  • Join Date: Jan 2005
  • Posts: 512
    • Show only replies by AmigaEd
Re: Some kind of fast RAM configuration issue?
« Reply #8 on: January 21, 2011, 02:36:07 AM »
Quote from: SpeedGeek;608009
The A2630 can be configured for 2 or 4 meg of RAM. So I would check the jumper setting to make sure it's not trying to grab 4 meg of Zorro2 space.

I seem to remember having a similar problem many years ago. I would definetly check the jumpers to make sure the two boards are not competing for the same address space. I'd take a look at how the jumpers in my A2000 are configured, but sadly I'm half a world away from my Amiga at the moment. Good luck!
"Pretty soon they will have numbers tattooed on our foreheads." - Jay Miner 1990

La Familia...
A1K - La Primera Dama -1987
A1K - La Princesa- January 2005
A2K - La Reina - February 2005
A2K - Doomy - March 2005
A500 - El Gran Jugador - April 2005
A1200 - La Hermosa Vista - May 2005
A2KHD - El Duro Grande - May 2005
A600 - PrĂ­stino - May 2005
A1200 - El Trueno Grande - July 2005
CDTV - El Misterioso - August 2005
C64 - El Gran Lebows
 

Offline commodorejohnTopic starter

  • Hero Member
  • *****
  • Join Date: Mar 2010
  • Posts: 3165
    • Show only replies by commodorejohn
    • http://www.commodorejohn.com
Re: Some kind of fast RAM configuration issue?
« Reply #9 on: January 21, 2011, 04:06:04 AM »
Hmm, that's a thought. I'll take a look when I open it up next.
Computers: Amiga 1200, DEC VAXStation 4000/60, DEC MicroPDP-11/73
Synthesizers: Roland JX-10/MT-32/D-10, Oberheim Matrix-6, Yamaha DX7/FB-01, Korg MS-20 Mini, Ensoniq Mirage/SQ-80, Sequential Circuits Prophet-600, Hohner String Performer

"\'Legacy code\' often differs from its suggested alternative by actually working and scaling." - Bjarne Stroustrup
 

Offline commodorejohnTopic starter

  • Hero Member
  • *****
  • Join Date: Mar 2010
  • Posts: 3165
    • Show only replies by commodorejohn
    • http://www.commodorejohn.com
Re: Some kind of fast RAM configuration issue?
« Reply #10 on: January 25, 2011, 02:51:10 AM »
Well, I popped the case today for another card, and the 2630 is configured for 2MB, so I'm kind of stumped. Unless the GVP card somehow attempts to grab 8MB of space when it's configured for anything more than 4MB, I have no idea what the deal would be.
Computers: Amiga 1200, DEC VAXStation 4000/60, DEC MicroPDP-11/73
Synthesizers: Roland JX-10/MT-32/D-10, Oberheim Matrix-6, Yamaha DX7/FB-01, Korg MS-20 Mini, Ensoniq Mirage/SQ-80, Sequential Circuits Prophet-600, Hohner String Performer

"\'Legacy code\' often differs from its suggested alternative by actually working and scaling." - Bjarne Stroustrup
 

Offline ChaosLord

  • Hero Member
  • *****
  • Join Date: Nov 2003
  • Posts: 2608
    • Show only replies by ChaosLord
    • http://totalchaoseng.dbv.pl/news.php
Re: Some kind of fast RAM configuration issue?
« Reply #11 on: January 25, 2011, 02:55:16 AM »
Quote from: Zac67;588458
Not entirely true - there are two distinct AutoConfig spaces: $200000-$9FFFFF for large allocations (8 MB total) and $E90000-$EFFFFF (7x 64 KB) for small allocations (i.e. I/O). Any additional board failing to allocate memory space will just stay unconfigured/shut up.

So, in theory this should work. A possible problem might be that the two chunks get linked together and something rises from that. Have you tried adjusting the mask value of your partitions so the buffers don't end up in 32 bit RAM? Another approach may be to limit the GVP to 4 MB and AddMem the last 2 MB manually after booting (depending on the board's hardware this may not work).

How would one create a ram board that stops the AddMem command from working?
Wanna try a wonderfull strategy game with lots of handdrawn anims,
Magic Spells and Monsters, Incredible playability and lastability,
English speech, etc. Total Chaos AGA
 

Offline tone007

Re: Some kind of fast RAM configuration issue?
« Reply #12 on: January 25, 2011, 02:55:45 AM »
I had the same issue.  Ended up setting the GVP card for 0MB and just using it as a SCSI adapter and threw an 8MB SupraRAM or Microbotics 8-Up! (I forget which) in.
3 Commodore file cabinets, 2 Commodore USB turntables, 1 AmigaWorld beer mug
Alienware M14x i7 laptop running AmigaForever
 

Offline commodorejohnTopic starter

  • Hero Member
  • *****
  • Join Date: Mar 2010
  • Posts: 3165
    • Show only replies by commodorejohn
    • http://www.commodorejohn.com
Re: Some kind of fast RAM configuration issue?
« Reply #13 on: January 25, 2011, 03:13:10 AM »
Yeah, I'm figuring that might be easiest. I've got a DKB 2632 now, so it won't matter terribly once I get that working, but once a problem gets on my brain it's difficult to get it to go away :/
Computers: Amiga 1200, DEC VAXStation 4000/60, DEC MicroPDP-11/73
Synthesizers: Roland JX-10/MT-32/D-10, Oberheim Matrix-6, Yamaha DX7/FB-01, Korg MS-20 Mini, Ensoniq Mirage/SQ-80, Sequential Circuits Prophet-600, Hohner String Performer

"\'Legacy code\' often differs from its suggested alternative by actually working and scaling." - Bjarne Stroustrup
 

Offline commodorejohnTopic starter

  • Hero Member
  • *****
  • Join Date: Mar 2010
  • Posts: 3165
    • Show only replies by commodorejohn
    • http://www.commodorejohn.com
Re: Some kind of fast RAM configuration issue?
« Reply #14 on: February 04, 2011, 12:09:28 AM »
Okay, coming back to this again, I did some experimenting while I had my 2000 open and found the following. When the jumpers on the GVP card are set for 6MB, it occupies a block from 0x200000-5FFFFF (4MB) and a block from 0x600000-7FFFFF (2MB.) However, when it's set for 4MB, it occupies one block from 0x600000-9FFFFF. The 2630, when the GVP card is set for 0MB or 4MB, occupies a block from 0x200000-3FFFFF.

I'm kind of wondering if the GVP card is having some kind of conflict with the 2630 over that area at 0x200000 that both of them seem to want. (Wish I knew more about how Zorro II memory partitioning worked!) I have a copy of AddMem, but I'm not sure if that would be useful in this situation - is it possible to use it so that I can have the GVP card configured for 4MB and manually add the remaining 2MB into 0x800000-9FFFFF?
Computers: Amiga 1200, DEC VAXStation 4000/60, DEC MicroPDP-11/73
Synthesizers: Roland JX-10/MT-32/D-10, Oberheim Matrix-6, Yamaha DX7/FB-01, Korg MS-20 Mini, Ensoniq Mirage/SQ-80, Sequential Circuits Prophet-600, Hohner String Performer

"\'Legacy code\' often differs from its suggested alternative by actually working and scaling." - Bjarne Stroustrup