Coder Social home page Coder Social logo

Comments (4)

wwarthen avatar wwarthen commented on June 12, 2024

from romwbw.

wwarthen avatar wwarthen commented on June 12, 2024

Hi John,

Very sorry for the slow response.  I'm not home, but will try to provide some guidance.

First, be aware that there is no API within RomWBW that is used to reserve or assign RAM banks.  I intend to do something about this someday, but at present, the use of the RAM banks is done by convention.

It may seem odd, but the RAM banks are currently assigned starting from the highest RAM bank.  So, I will refer to RAM bank assignments as n, n-1, n-2, etc., where n refers to the highest numbered RAM bank.

At this time, the RAM bank assignments are as follows:

Bank n: Common Bank mapped to high CPU address space (8000H - FFFFH)
Bank n-1: User Bank (basically, the lower CPU address space for applications (0000H - 7FFFH)
Bank n-2: HBIOS Bank
Bank n-3: Aux Bank 0: BPBIOS or CP/M 3
Bank n-4: Aux Bank 1 CP/M 3
Bank n-5: Aux Bank 2 CP/M 3
Bank n-6: Aux Bank 3 CP/M 3
Bank n-7: Aux Bank 4 CP/M 3
Bank n-8 to Bank 0: RAM Disk

Assuming you are not using CP/M 3 or BPBIOS, it would be fine to use any/all of the AUX banks.  The best way to determine the "top" aux bank is to use the API function 0xF8, subfunction 0xF2 (BNKINFO).  It will return the BIOS bank id in register D.  You can assume that the top AUX banik is one berlow this.

Let me know if you have any further questions.

Thanks,

Wayne

from romwbw.

jrlodden avatar jrlodden commented on June 12, 2024

Thank you very much -- I really appreciate the insight!

I now have TurboDOS 1.43 bank switch driver now working!
It is great having a 62k TPA again. With the removal of debugging double buffering, I should get another 1k back in the TPA.

TurboDOS can now self-host all of its development and system generations now.
I am now off to clean up the disk drivers and get the network driver running to connect to my other TurboDOS 86 16-bit and 8-bit machines.

Thanks again!

-jrl

from romwbw.

wwarthen avatar wwarthen commented on June 12, 2024

Sounds like this is resolved. Closing the issue.

from romwbw.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.