Comments (4)
from romwbw.
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.
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.
Sounds like this is resolved. Closing the issue.
from romwbw.
Related Issues (20)
- Build fail HOT 6
- DDTZ and ZSID on z80 in interrupts running. HOT 18
- 3.1.1 UNA_std.rom fails on Mark IV HOT 2
- (Q) A new Release? HOT 7
- (Q) - freeRTOS context switch qualification HOT 4
- v3.0.1 Hangs before boot loader prompt HOT 13
- 3.0.0 does not compile on linux HOT 3
- CPM Tools HOT 2
- RomWBW Digital I/O Input at Startup HOT 9
- Survey.com HOT 19
- Multiple floppy drives with multiple media formats HOT 5
- V320RC3 - ZPM3 Named Directory scheme not working correctly when pointing to different user areas HOT 9
- Initializing UART4 board I/O port clash HOT 2
- Problematic CTC divisor check HOT 2
- Zeta2 - FD not being detected after upgrade from v3.0.1 to v3.2.0 HOT 3
- BIOS 3.2.0 Disk probe is very slow on RCbus if the bus is not floating at 78 HOT 8
- V3.3.3dev7 - Small typo in ROMWBW System Guide P.60 (maybe?) HOT 2
- Disk definition for IBM floppies HOT 5
- Additional disks in the combo images? HOT 3
- SD card with PIO protocol error HOT 12
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from romwbw.