Jump to content
Sign in to follow this  
Larry

Ram OS Swap for XL/XE?

Recommended Posts

Does anyone know of software to make a ram OS (switcher) for the XL/XE? I'm aware of the basic requirements, but I'm hoping to find a generalized "maker" that would read a rom/bin file and make the swap. This is an XE to XE type swap, not an XE to 800 type (if that makes any difference).

 

Thanks,

Larry

Share this post


Link to post
Share on other sites

A short assembly program would do the trick.

 

Would this run with BASIC enabled, or would it be with/without?

 

I guess the easiest method would be to have your customized OS load around $4000, then have a routine which copies it to RAM under the OS.

 

Then, have a short initialization program that runs each time you press RESET.

Share this post


Link to post
Share on other sites
A short assembly program would do the trick.

 

Would this run with BASIC enabled, or would it be with/without?

 

I guess the easiest method would be to have your customized OS load around $4000, then have a routine which copies it to RAM under the OS.

 

Then, have a short initialization program that runs each time you press RESET.

 

Hi Rybags-

 

Without Basic -- I want to use a disk-based assembler.

 

Thanks,

Larry

Share this post


Link to post
Share on other sites

So, are you going to write it yourself?

 

It would be pretty easy. Just have it as a binary file which you can then just append to any modified ROM images you create.

 

When you disable the OS to copy stuff to the RAM, you just have to disable interrupts.

 

Simple case of LDA #0, STA $D40E, SEI

 

CLI, LDA #$40, STA $D40E when you're done.

Share this post


Link to post
Share on other sites
So, are you going to write it yourself?

 

It would be pretty easy. Just have it as a binary file which you can then just append to any modified ROM images you create.

 

When you disable the OS to copy stuff to the RAM, you just have to disable interrupts.

 

Simple case of LDA #0, STA $D40E, SEI

 

CLI, LDA #$40, STA $D40E when you're done.

 

My first choice is to never "reinvent the wheel," especially if it is in assembler. I'm pretty sure this has been done before and is in print (probably Analog or maybe Antic).

 

Second choice is to roll-my-own -- I found something similar this AM called "Swap Dos" from an old Creative Computing "Outpost Atari" column. The source code is there, and I probably can adapt it. I'll look a bit longer, and then if I don't find it, I'll have a go at it.

 

Thanks for the outline/info.

-Larry

Share this post


Link to post
Share on other sites
So, are you going to write it yourself?

 

Source code to do this is published in Mapping the Atari by Ian Chadwick. No need to reinvent this wheel :) I'm sure there's a copy on line

Share this post


Link to post
Share on other sites
Source code to do this is published in Mapping the Atari by Ian Chadwick. No need to reinvent this wheel :) I'm sure there's a copy on line

 

Thanks, Jayok-

 

I knew I had seen it somewhere. It's there in Appendix 12, p 216 - 219. I also found another one today in Analog April, 1985. "RamOS for XL's."

 

The one in Mapping appears a little more complete, though, with more code commenting.

 

-Larry

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...