Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 00:41 27 Nov 2024 Privacy Policy
Jump to

Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.

Forum Index : Microcontroller and PC projects : maximite colour computer

Author Message
rambo55
Newbie

Joined: 11/12/2012
Location: Australia
Posts: 15
Posted: 09:44am 11 Dec 2012
Copy link to clipboard 
Print this post

I have the maximite colour computer with the pic32mx795f512L when I turn on the maximite and type memory it say 32kb ram should there be 128kb can any one tell me why there only 32kb
 
TassyJim

Guru

Joined: 07/08/2011
Location: Australia
Posts: 6098
Posted: 10:51am 11 Dec 2012
Copy link to clipboard 
Print this post

The memory is shared with the Video memory which uses a lot in colour mode.
If you switch to mode 1 (mono), the amount of available memory will be about 80kB

Jim
VK7JH
MMedit   MMBasic Help
 
Nick

Guru

Joined: 09/06/2011
Location: Australia
Posts: 512
Posted: 10:53am 11 Dec 2012
Copy link to clipboard 
Print this post

The PIC chip may have 128K but the BASIC interpreter software occupies some of that plus it reserves some for it's use (fonts, sprites, variables, screen buffer etc).

Leaving you with round about 32K for your BASIC code.

This is the case with all computers right back to the vintage days. It's a matter of TOTAL SPACE versus AVAILABLE SPACE.

NickEdited by Nick 2012-12-12
 
rambo55
Newbie

Joined: 11/12/2012
Location: Australia
Posts: 15
Posted: 01:14pm 11 Dec 2012
Copy link to clipboard 
Print this post

  rambo55 said   I have the maximite colour computer with the pic32mx795f512L when I turn on the maximite and type memory it say 32kb ram should there be 128kb can any one tell me why there only 32kb

yes it been so long back in the 80s when I had the Commodore64 Computer I forgot about the 64kb and the 38911 Free Ram and I write programmed for the C64 it bring back memory.Edited by rambo55 2012-12-12
 
Juri74

Senior Member

Joined: 06/02/2012
Location: Italy
Posts: 162
Posted: 07:26am 17 Jan 2013
Copy link to clipboard 
Print this post

  rambo55 said  
  rambo55 said   I have the maximite colour computer with the pic32mx795f512L when I turn on the maximite and type memory it say 32kb ram should there be 128kb can any one tell me why there only 32kb

yes it been so long back in the 80s when I had the Commodore64 Computer I forgot about the 64kb and the 38911 Free Ram and I write programmed for the C64 it bring back memory.

commodore 64 display about 39kb free basic ram because the rest of the memory was overlayed by basic rom + kernal rom + io space + video & system reserved memory.
in commodore 64 there was the ability to disable these roms to obitain more free ram to use only with ML programs..

the colour maximite doesn't have a "kernal" or "basic" rom that overlay free ram...
i tried to turn off video (config video off command) and use it only through the serial usb connection (via tera term) but it still miss 20 kb of memory... (free memory is 107kb) why?

memory
0kB ( 0%) Program (0 lines)
0kB ( 0%) 0 Variables
0kB ( 0%) General
107kB (100%) Free

 
CircuitGizmos

Guru

Joined: 08/09/2011
Location: United States
Posts: 1425
Posted: 07:48am 17 Jan 2013
Copy link to clipboard 
Print this post

RAM space that the firmware itself needs. Buffers and variables for USB communication, for example. Just the RAM space needed for MMBasic to operate, such as stack space.
Micromites and Maximites! - Beginning Maximite
 
MOBI
Guru

Joined: 02/12/2012
Location: Australia
Posts: 819
Posted: 11:20am 17 Jan 2013
Copy link to clipboard 
Print this post

Quibbling over a few K of memory!!!

My first computer (Motorala 6800D2) had 128 BYTES of RAM and one could write usable programmes with it (in hex with a hex keypad).

The Apple, if I remember correctly had 48K, and we did wonders with it.
David M.
 
JohnS
Guru

Joined: 18/11/2011
Location: United Kingdom
Posts: 3802
Posted: 11:37am 17 Jan 2013
Copy link to clipboard 
Print this post

Bear in mind it's 32-bit chip with 32-bit integers and addresses (pointers). RAM goes fairly quickly. Some could be "saved" using offsets and extra arithmetic but it would run slower.

The one chip does DMA for various things like video, making it simpler and cheaper.

Think what the value of money was back then and what a C64 cost! Saving RAM mattered more.

Does it matter now...

A PIC32 895 or 995 or whatever, with 256K RAM, is to be expected. Geoff would have it working in about a day, maybe an hour, as a few tweaks to the C and it's done.

JohnEdited by JohnS 2013-01-18
 
Grogster

Admin Group

Joined: 31/12/2012
Location: New Zealand
Posts: 9307
Posted: 01:29pm 17 Jan 2013
Copy link to clipboard 
Print this post

As others here have mentioned, RAM is shared.
As others here have ALSO mentioned, this was the norm back in the day too.

As with the Commodore 64, the Atari that I was so in love with(and so obviously still am!!! ) had the ability to kill the BASIC in favour of a program in native machine code. From memory(if you'll pardon the pun!), you held down OPTION while you turned the Atari on, to disable BASIC.

The MM actually has almost twice the memory of the Atari 800XL and Commodore 64 which were both 64KB RAM machines. The MM ALMOST has as much RAM as the Atari 130XE which had 128KB of RAM, but still the same 6502 CPU. To get access to the upper 64KB(or lower depending on where you are counting from), the 130XE used a memory bank switching/manager chip called Freddie.

Oh and MOBI: Quibbling over a few K of memory, as when you have limited resources you tend to be more concerned about losing a few K of RAM here and there. Unlike today, where RAM generally is not that much of an issue, as you can buy a few more GB for very little cash. I know you were just making a tongue-in-cheek remark, so I am not trying to take you to task over it!
Smoke makes things work. When the smoke gets out, it stops!
 
Print this page


To reply to this topic, you need to log in.

© JAQ Software 2024