Again with SRAMs (PAC) (Hardware MSX Forum)MSX Resource Center MSXdev 2008 - MSX1 development bonanza!              
              
English Nederlands Español Português Russian         
 News
   Frontpage
  News archive
  News topics

 Resources
   MSX Forum
  Articles
  Reviews
  Fair reports
  Photo shoots
  Fairs and meetings
  Polls
  Links
  Search

 Software
   Downloads
  Webshop

 MRC
   Who we are
  Join our team
  Donate
  Policies
  Contact us
  Link to Us
  Statistics

 Search
 
  

  

 Login
 

Username

Password




Don't you have an account yet? Become an MSX-friend and register an account now!.


 Statistics
 

There are 151 guests and 5 MSX friends online

You are an anonymous user.
 

MSX Forum


MSX Forum

Hardware - Again with SRAMs (PAC)

Author

Again with SRAMs (PAC)

SaebaMSX
msx freak
Posts: 253
Posted: November 01 2005, 10:32   
Hello there!

I do know how to access to FMPAC's SRAM and I would like to know if PAC's SRAM is accessed in the same way (same address). I could not find information about this cartridge on the net (maybe again I'm blind) and I don't have it either.

Could anyone state if it acts in the same way that FMPAC?


Thanks in advance!
msd
msx professional
Posts: 612
Posted: November 01 2005, 10:58   
Your in luck. The Fmpac does have a battery
SaebaMSX
msx freak
Posts: 253
Posted: November 01 2005, 11:07   
Heheheh, I know, I know...
But if Moonsound keeps its information in SRAM after a MSX reset, it is useful for me too, so don't worry, I will use it.

It is just that I am lazy to read the whole information to do it through OPL4... but I will do that later, someday.

Why am I a so bad ASM coder? Else I would do it asap.
msd
msx professional
Posts: 612
Posted: November 01 2005, 11:40   
I can give you an set address, ramtosram and sramtoram function for the opl4.. save you some reading
SaebaMSX
msx freak
Posts: 253
Posted: November 01 2005, 12:10   
That would do me a worse codeR even!

But of course, you can send me it, you will be credited after I finish my "job". Your name was "Anne de Raad", right?

Seriously, that would be nice of you. I don't want to focus all my job in SRAM but in other parts more important right now... and as I am "learning" now, that will save some time.

saebamsx [at] gmail [dot] com

Thanks!
BiFi
msx guru
Posts: 3142
Posted: November 01 2005, 14:46   
to be able to access the PAC SRAM you need to write $4D to $5FFE and $69 to $5FFF in the PAC slot... then the SRAM will appear in the area of $4000-$5FFF in that slot... be careful though, writing $5FFE and $5FFF with other values will disappear again.

it's identical to the FM-PAC one. though the PAC has no ROM to detect it so you need to do detect it in a different way.
SaebaMSX
msx freak
Posts: 253
Posted: November 01 2005, 15:00   
Thank you, BiFi! I needed to know if they were identical ways to activate it, so it makes it easier.

Well, I will try to detect it in a more rudimentary way, but as I don't have a PAC... well, no problem, I hope it will work.
BiFi
msx guru
Posts: 3142
Posted: November 01 2005, 15:58   
you're welcome... I made an SRAM manager source about 10 years ago, though I didn't know back then the PAC doesn't have any ROM so it should be detected in a different way... which still needs to be coded. ASCII8 SRAM, FM-PAC, the Sony HBI-55, MSX-turboR are implemented in that source... ASCII16 SRAM still isn't... maybe I need to update the source
SaebaMSX
msx freak
Posts: 253
Posted: November 01 2005, 16:47   
Now I have most of them implemented... just that Sony HBI-55 is missing here (and of course, Moonsound).

But I just need find the cart and write/read from there, not that difficult...
msd
msx professional
Posts: 612
Posted: November 01 2005, 16:51   
What are you going to make SeabeMSX?
SaebaMSX
msx freak
Posts: 253
Posted: November 01 2005, 16:56   
Right now... remembering how to code and learning. Later a nice util, I hope. But I don't like to make it public until I have something working, sorry.

So shut up Anne!!!
BiFi
msx guru
Posts: 3142
Posted: November 01 2005, 17:04   
newbie coder learns to cope with user whiners

don't get discouraged by this though... it gives you a certain power keeping users waiting for your great developments
Latok
msx master
Posts: 1727
Posted: November 01 2005, 17:05   
Yes Anne, shut up!
BiFi
msx guru
Posts: 3142
Posted: November 01 2005, 17:06   
how does it feel talking about yourself in the third person?
AuroraMSX

msx master
Posts: 1248
Posted: November 02 2005, 21:47   
/me not Anne
What's ya making Saeba-san? :-P
 
 







(c) 1994 - 2008 MSX Resource Center Foundation. MSX is a trademark of MSX Licensing Corporation.