A2osX/README.md

168 lines
6.8 KiB
Markdown
Raw Normal View History

2017-01-12 17:49:55 +00:00
# A2osX (0.9)
2016-10-23 20:37:58 +00:00
Multi-Tasking OS for Apple II
2016-11-14 10:12:10 +00:00
2016-11-14 10:21:46 +00:00
## Requires :
Enhanced IIe (65c02 cpu) with 128k, //c, IIgs
2016-11-14 10:12:10 +00:00
## Introduction...
A2osX is a cooperative, event-driven multitasking kernel (meaning it is applications that are responsible to give back control to kernel)
2016-11-14 10:32:51 +00:00
Its principal goal is to collect all "genius" 65c02 pieces of code ever written here and there, concentrated in the same environment.
(including IP Stack & HTTPD/TELNETD..., GUI & graphical tools...)
"Complete working place", no needing any more to reboot to switch between tons of diskettes!!!
2016-11-14 10:12:10 +00:00
A2osX is designed to work on any "stock" 128k Apple //e with no hardware modification. As VBL signal is NOT available as an IRQ on //e (it is on //c & IIgs)
it makes preemptive multitasking impossible.
(Well, GSosX, 16 bits equivalent for IIgs, another project which is "cooking" in my mind, could do it!)
2016-11-14 10:21:46 +00:00
Kernel, loading in Aux LC on top of ProDOS provide API inspired from Linux/Unix World to allow writing applications & command line tools on top of it.
This kernel provides an advanced "Memory Manager" able to relocate 65c02 code.
"Event Manager" makes TCPIP stack able to listen on several ports, manage ARP,DNS...cache expiration and any background processes.
"Task Manager" is responsible to "distribute" CPU time to several loaded processes.
"Device Manager" handles event collected from builtin devices as well as devices added by loadable drivers.
2016-11-14 10:12:10 +00:00
2016-11-14 10:21:46 +00:00
If you're 65c02 or Z80 code writer, how to contribute ?
2016-11-14 10:12:10 +00:00
Several subprojects are now indentified :
+ Hardware Support : adding drivers to support more & more hardware (RAM cards, storage....)
2016-11-14 10:21:46 +00:00
+ Z80 support : Kernel could pass control to any Z80 detected on the system.
2016-11-14 10:12:10 +00:00
+ TCPIP stack : TCP still missing!
+ AppleTalk Support
+ GUI & Printing
2016-11-14 10:32:51 +00:00
+ Archive, Disk Image transfer tools (ADT client!)...
2016-11-14 10:21:46 +00:00
+ Question : Pascal or C Compiler?
2016-11-14 10:12:10 +00:00
+ ...sure there is some more!
## Screenshots
![](https://github.com/burniouf/A2osX/blob/master/ScreenShot.LS.bmp)
![](https://github.com/burniouf/A2osX/blob/master/ScreenShot.EDIT.bmp)
2016-06-15 06:21:42 +00:00
2016-10-07 19:27:49 +00:00
## General Information:
2017-01-12 17:49:55 +00:00
** Kernel 0.9 complete rewrite in progress **
(Kernel 0.8 has been archived)
2016-10-07 20:48:49 +00:00
It is confined in Aux LC Bank 1 & 2 to leave enough room at $EOOO for Drivers.
Network drivers, Mouse, DHGR.DRV can load and fit in Aux LC.
2016-10-07 20:48:49 +00:00
Now it's time to make all external BINs use new API, then GUI development will resume.
2016-11-14 10:12:10 +00:00
**A2OSX.BOOT.po** : 140k BOOT disk image with all binaries
**A2OSX.DEV.po** : 140k disk image with ASM binaries, Debug Tools & INClude files
**A2OSX.SRC.po** : 800k S-C MASM boot disk image with all sources
2016-01-11 12:58:19 +00:00
2016-01-11 11:24:58 +00:00
OApple+1,OApple+2,OApple+3 to switch between screens : Kernel Log, text, DHGR.
(OApple+shift+1,OApple+shift+2,OApple+shift+3 on FR keyboard)
2016-01-11 12:58:19 +00:00
2016-01-25 20:06:14 +00:00
### **** Developers WANTED ****
2016-11-14 10:12:10 +00:00
2016-01-25 20:06:14 +00:00
!!! Help on writing this code should be greatly appreciated !!!
2016-11-14 10:12:10 +00:00
2016-10-21 21:11:55 +00:00
...
In Progress : Document API...
In Progress : moving TCPIP to socket API
...
2016-03-13 22:05:10 +00:00
2016-01-25 20:06:14 +00:00
## SYS/KM* Supported Hardware At Kernel Level (ProDOS):
2016-01-11 15:17:06 +00:00
| KM.Name | Status | Comment |
| ------- | ------ | ------- |
2017-01-25 16:26:56 +00:00
| KM.NSC | Working | No-Slot-Clock/DS1216E |
2016-01-11 15:17:06 +00:00
| KM.RAMWORKS | Working | AE-Ramworks I,II,III |
2017-01-25 16:26:56 +00:00
| KM.VSDRIVE | Working | ADTPro Virtual Drive for SSC |
| KM.APPLETALK | Working | AppleTalk Support for ProDOS |
2016-01-12 20:35:52 +00:00
2016-10-07 19:27:49 +00:00
## SBIN,Daemons/Commands:
| Name | Status | Comment | K.Ver |
| ---- | ------ | ------- | ----- |
| INSDRV | Working | | 0.9 |
| GETTY | Working | | 0.9 |
| LOGIN | In Progress | no auth using /etc/passd yet | 0.9 |
2016-10-07 20:48:49 +00:00
| TCPIP | In Progress | New Socket API. ARP,IP,ICMP,UDP ok, TCP in progress | 0.8 |
| DHCPCLNT | Working | rewritten to use new Socket API | 0.8 |
2017-01-25 16:26:56 +00:00
| SHELL | Working | (See Internal Shell commands) | 0.9 |
2016-01-12 20:35:52 +00:00
## Internal Shell commands:
2016-10-07 20:48:49 +00:00
| Name | Status | Comment |
| ---- | ------ | ------- |
2016-10-26 20:59:05 +00:00
| CD/PWD | Working | Improved syntax : now, 'CD ../BIN' works |
2016-01-12 20:35:52 +00:00
| DATE | Working | |
2016-11-03 16:21:36 +00:00
| ECHO | Working | \b,\e,\f,\n,\\ and \% supported |
| EXIT | Working | |
2016-05-01 21:13:54 +00:00
| IF | | |
2016-01-12 20:35:52 +00:00
| PAUSE | Working | |
| READ | Working | -S no echo (password) |
| | | -P "prompt message" |
2016-05-01 21:13:54 +00:00
| TIME | Working | |
2016-10-29 20:14:43 +00:00
| SET | Working | |
| STARTPROC | Working | Used in A2osX.startup |
2016-01-12 20:35:52 +00:00
2016-10-29 19:54:37 +00:00
## Shell variables:
| Name | Status | Comment |
| ---- | ------ | ------- |
| $PWD | Working | 'Working Directory' |
| $* | Working | All Args |
2016-10-29 19:54:37 +00:00
| $1-$9 | Working | Arg[n] |
| $# | Working | Arg Count |
| $? | Working | Return Code |
| $@ | Working | Parent PID |
2016-10-29 19:54:37 +00:00
| $$ | Working | PID |
| $! | Working | Child PID |
note : '$VAR' does NOT expand Variable
## DRV,Drivers:
| Name | Status | Comment | K.Ver |
| ---- | ------ | ------- | ----- |
2017-01-25 16:26:56 +00:00
| Console.DRV | Working | ANSI support in Progress. | 0.9 |
| PIC.DRV | In Progress | Apple "Parallel Interface Card" Driver, renamed from PPIC.DRV | 0.8 |
2017-01-25 16:26:56 +00:00
| SSC.DRV | In Progress | Apple "Super Serial Card" Driver | 0.8 |
| SSC.I.DRV | In Progress | Apple "Super Serial Card" Driver (IRQ enabled) | 0.8 |
| Mouse.DRV | Working | | 0.8 |
2017-01-25 16:26:56 +00:00
| DHGR.DRV | In Progress | except bitblt... | 0.8 |
| LanCeGS.DRV | Working | | 0.8 |
| Uthernet.DRV | Working | | 0.9 |
| Uthernet2.DRV | Working | | 0.8 |
| Uther2.AI.DRV | In Progress | With ARP/IP Offloading | 0.8 |
2016-01-12 20:35:52 +00:00
## BIN,External Shell commands:
2016-10-07 19:27:49 +00:00
| Name | Status | Comment | K.Ver |
| ---- | ------ | ------- | ----- |
| MEM | Working | Old dump behavior is now MEMDUMP. New MEM command displays MEMSTAT (Main, Aux & Kernel Memory) | 0.9 |
| LSDEV | Working | | 0.9 |
| PS | Working | | 0.9 |
| MD | Working | | 0.9 |
| LS | Working | -A : Do Not Print . & .. | 0.9 |
| | | -L : long listing with size/date... | |
2016-10-29 20:14:43 +00:00
| | | -R : Recurse subdirectories | |
| RM | Working | -C : Continue On Error | 0.8 |
2016-10-29 20:14:43 +00:00
| | | -R : Recurse subdirectories | |
| CP | In Progress | -C : Continue On Error | 0.8 |
2016-10-29 20:14:43 +00:00
| | | -R : Recurse subdirectories | |
| | | -Y : Dont't Prompt For Override | |
| MV | In Progress | -C : Continue On Error | 0.8 |
| | | -R : Recurse subdirectories | |
2016-10-29 20:41:01 +00:00
| | | -Y : Dont't Prompt For Override | |
| CAT | Working | -A : Show All non printable caracters | 0.9 |
| | | -N : Number all output lines | |
| | | -S : Suppress repeated empty output lines | |
2017-01-25 16:26:56 +00:00
| EDIT | Working | still missing : find/replace | 0.9 |
| NSCUTIL | Working | Tool for setting time in NSC/DL1216E | 0.8 |
| ARP | Working | dump ARP cache, setup a static ARP entry | 0.8 |
2016-10-29 20:14:43 +00:00
| PING | Working | | 0.8 |
| DNSINFO | Working | dump DNS cache, setup a static DNS entry | | 0.8 |
| IPCONFIG | Working | renamed from NETINFO | 0.8 |
2016-10-07 20:48:49 +00:00
| NETSTAT | Working | | 0.8 |
## BIN,External DEV Shell commands:
| Name | Status | Comment | K.Ver |
| ---- | ------ | ------- | ----- |
2016-10-07 19:27:49 +00:00
| ASM | In Progress | S-C MASM based multi CPU assembler | |
| DEVDUMP | | | 0.8 |
| MEMDUMP | Working | | 0.8 |
| RPCDUMP | Working | tool based on UDP socket API, renamed from RPCINFO | 0.8 |
2016-01-11 12:58:19 +00:00
2016-01-25 19:48:22 +00:00
## Misc
2016-01-25 20:06:14 +00:00
### S-C MASM color scheme for Notepad++
2016-01-25 19:48:22 +00:00
...drop _Tools/userDefineLang.xml in %APPDATA%\Notepad++
;-)