Jump to content



Photo
- - - - -

Ram Allocation Questions

ram heap

  • Please log in to reply
1 reply to this topic

#1 Jsec42

Jsec42

    Newbie

  • Members
  • Pip
  • 4 posts
  • Gender:Male

  • Calculators:
    Casio fx-9860gii-2
    Casio cfx-9850
    ti-85 CBL/CBR
    ti-83+
    ti-84+
    ti-84+ Silver Edition
    ti-84+ C Silver Edition
    ti-84+ CE
    ti-89 Titanium Edition

Posted 08 September 2015 - 10:56 PM

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 :)



#2 Jsec42

Jsec42

    Newbie

  • Members
  • Pip
  • 4 posts
  • Gender:Male

  • Calculators:
    Casio fx-9860gii-2
    Casio cfx-9850
    ti-85 CBL/CBR
    ti-83+
    ti-84+
    ti-84+ Silver Edition
    ti-84+ C Silver Edition
    ti-84+ CE
    ti-89 Titanium Edition

Posted 13 September 2015 - 03:31 AM

Meh...no replies. I already cross-posted on Casiopeia. http://www.casiopeia...&p=14209#p14209






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users