Large ram allocation
5 posts
• Page 1 of 1
- Jsec42
- Member
- Posts: 24
- Joined: Sun Aug 31, 2014 4:48 pm
- Calculators: Casio Cfx Series, Casio fx-9860GII
Large ram allocation
Alright, I am going to be making an emulator for the ti-84+(and others) to run on the Casio fx-9860gii-2. However, I am running into a bit of a problem. In order to achieve optimal emulation speed, I need to A. Hold the 64kb physical address space of the Z80 in ram(I don't need the ROM file in ram, because I can just seek in/out 16kb pages when the Virtual ASIC is instructed to swap pages
), and B. Hold the 128kb of ram available to the Calculator in a separate buffer. This would be trivial on a PC, but it poses a bit of a challenge on the Calculator. This being caused by the 32kb work ram limitation, and the 48kb restriction on heap ram <_< . However, if I am correct, the program itself is copied into a buffer that is 512kb large. Would it be possible to allocate some space in this "program heap"? If not, is there a place where I can allocate the amount of ram I need? Thanks in advance 


- SimonLothar
- Senior Member
-
- Posts: 605
- Joined: Sat Sep 15, 2012 6:59 am
- Location: Krautland ****
- Calculators: Casio fx-7400GII, Casio fx-7400GII (SH4), Casio fx-9750GII, Casio fx-9750GII (SH4), Casio fx-9860G, Casio fx-9860G SD, Casio fx-9860G Slim, Casio fx-9860GII SD, Casio fx-9860GII SD Power Graphic 2, Casio Classpad 330 plus, Casio fx-CG20, Casio fx-CG50, Casio Classpad fx-CP400
Re: Large ram allocation
Hi,
the GII-calculators possess 512 KiB RAM. The upper 256 KiB of which - starting at physical address 0x88040000 - is not used, as I understand it.
I filled this area with 0xAAAAAAAA and played around with some build-ins - including a storage mem optimization, which should be a RAM consuming one - and the area has not been touched by the system.
Perhaps this could come in handy.
the GII-calculators possess 512 KiB RAM. The upper 256 KiB of which - starting at physical address 0x88040000 - is not used, as I understand it.
I filled this area with 0xAAAAAAAA and played around with some build-ins - including a storage mem optimization, which should be a RAM consuming one - and the area has not been touched by the system.
Perhaps this could come in handy.
I'll be back!
- Jsec42
- Member
- Posts: 24
- Joined: Sun Aug 31, 2014 4:48 pm
- Calculators: Casio Cfx Series, Casio fx-9860GII
Re: Large ram allocation
That is PERFECT! Turns out I am (very) good at manually allocating ram to my programs(I'm used to the ti-83+ series free ram buffers) so that will take care of my ram needs(and then some). Now I just need to figure out how the save states will work.
- Jsec42
- Member
- Posts: 24
- Joined: Sun Aug 31, 2014 4:48 pm
- Calculators: Casio Cfx Series, Casio fx-9860GII
Re: Large ram allocation
It is fun to have so much ram to work with 

5 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 9 guests