Jump to content
GDMike

Supernotes

Recommended Posts

I've got 40 free banks to code with.

But I need a method of making it work.

I know I have 8k at >1000 in VDP ram.

( when I'm not using it for DSR).

I need a way to map to a bank, throw it in my VDP ram and execute it.

Obviously, it could not contain file procedures.

But I'm trying to see what something would look like.

 

Share this post


Link to post
Share on other sites

Actually I'm not going to use bdp buffer to run the program from I'm just going to use it as a temporary story spot. it's almost working here

Share this post


Link to post
Share on other sites

Finally got a method in place for handling code that doesn't have to reside in MAIN ram, that is I was able to place my HELP menu, the program that displays the key functions, into SAMs high ram and freeing up 607 bytes at >E97C.

My help routine took up about 1k of ram, but after getting the pages set I've saved 607 bytes. I'm planning to use upper SAMs whenever possible.

Basically what I did was whenever the help key, F9 is pressed, I save the current bank, and set, in this case Bank >F0 as the current bank for my >3000 address space. From there I just do a BL @>3000 and since at the end of my 114 byte routine there is a RT, I simply come out of the routine with a key press, which is part of the routine, and I come back to the calling Program and restore the bank to the saved bank.

in order to push my help routine into high SAMs in the first place, what I did early prior to the program running and at compile time, I did an AORG >3000.

Then in my source code I was able to

COPY HELPS. This pushed my source into>3000 unmapped space.

Then at boot up, I do a copy of anything at >3000 into my BUFR address, which is CPU Ram >1000.

Then I mapped out where I'd like the code to reside in upper SAMs.

So I set the bank, move 114 bytes, and set the bank back to >3000 base ram.

It looks like I should be able to move other routines right under the last one until the bank in upper SAMs becomes full before setting another bank.

So far I haven't seen a difference in performance but I definitely see the free bytes in my base ram between>A000->FFFE where my program is compiled to.

 

Seems that I'm using

 banks>1100->C800 for SNP user pages and banks >C9->F0 or 45 banks should be available for program code.

 

 

 

 

 

Edited by GDMike
  • Like 1

Share this post


Link to post
Share on other sites

I don't know what is going on here, but I haven't touched my computer since the last update to SNP was put out, the 17th, but today I turned it on and went to SNP which is located on my DSK4(tipi) drive and the program came up, I then created a couple pages and tried to save, and error.

I can't seem to load either.

So I went to an older known working SNP program, and I got the same thing.

I rebooted the pi just to make sure, I powered off and on, reconnected side port cable, nothing but errors when trying to read or write.

I dunno, right now I'm just teeed off.

In the week of the 17th everything was working just fine. And even today everything else seems to be ok, meaning, DM2K runs and sees folders and files on multiple devices.??

Edited by GDMike

Share this post


Link to post
Share on other sites

Everything has been unplugged from the outlet since last Sunday, I just plugged up today and SNP will not load or save a file. No matter which version I use????

Raspberry pi rebooted, no change

I'm thinking on pulling out the cards and sticking the Geneve in it and just going Geneve for awhile. 😡 And learn MDOS...

Edited by GDMike

Share this post


Link to post
Share on other sites

Ok, update to what happened earlier.

I do not know. But SNP did not like the subfolder that it had been reading fine up to now. The path is tipi(DSK4/SNPWORK)

And I couldn't read my

"MYFILE" file.

And I couldn't create a new file in that folder, but I noticed I could write to other folders.

So I copied my SNPWORK folder and placed it in DSK3. Then I deleted the original DSK4.SNPWORK folder.

I pasted the SNPWORK back to DSK4 and wholla, I'm back to normal.with a headache and a pissed off attitude. I just wanted to blot something down and got a free headache.

Edited by GDMike

Share this post


Link to post
Share on other sites

I was planning on documenting a series of what if for SNE.

Like, what if I can't save a file?

WTH

 

I'll do it another day

 

Share this post


Link to post
Share on other sites
On 2/20/2021 at 11:33 PM, GDMike said:

Actually I'm not going to use VDP buffer to run the program from, I'm just going to use it as a temporary storage spot. It's almost working here

That's good, since code can't run from VDP ram. Not assembly code, that is.

  • Like 1

Share this post


Link to post
Share on other sites

Yeah, that's why I mentioned it, it's done and working, all I do is map my bank, b @>3000 it will return after user key press, and I remap to original mapped bank, slam bam.

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...

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...