Помоему вместо того чтобы сетовать на недостатки TRDOS-а или пытаться придумать "операционную систему моей мечты" вот с такими красивыми иконками, я думаю имеет смысл посмотреть на замечательную, хорошо продуманную и легко расширяемую операционную систему для профессиональных i8080/Z80 компьютеров. Называется CP/M, в СССР была широко распространена на популярных мини-ЭВМ Роботрон. В спектрум-клонах есть несклько вполне удачных реализаций (Кворум, Профи, АТМ и ТУРБО 2+). Но видимо интереснее свои иконки рисовать...
Код:
;* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
; Z S D O S
; A CP/M 2.2 compatible replacement Basic Disk Operating System (BDOS)
;
; Copyright (C) 1986,7,8 by:
;
; Harold F. Bower and Cameron W. Cotrill
;
; 7914 Redglobe Ct. 2160 N.W. 159th Place
; Severn, MD 21144-1048 Beaverton, OR 97006
; USA. USA.
;
; [email protected] [email protected]
;
; This program is free software; you can redistribute it and/or modify
; it under the terms of the GNU General Public License as published by
; the Free Software Foundation; either version 2 of the License, or
; (at your option) any later version.
;
; This program is distributed in the hope that it will be useful,
; but WITHOUT ANY WARRANTY; without even the implied warranty of
; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
; General Public License (file LICENSE.TXT) for more details.
;
; You should have received a copy of the GNU General Public License
; along with this program; if not, write to the Free Software
; Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
;---------------------------------------------------------------------------
; ZSDOS is a CP/M 2.2 compatable BDOS replacement that contains numerous
; enhancements. It is based on P2DOS 2.1 by HAJ Ten Brugge and revisions
; to P2DOS made by Harold F. Bower, Benjamin Ho, and Cameron W. Cotrill.
; Several good ideas from both CP/M Plus(tm) and ZRDOS(tm) have been added.
; The authors wish to thank Bridger Mitchell of Plu*Perfect Systems for
; suggesting we put our heads together, for reviewing the efforts, and for
; suggesting better methods for coding some sections. Thanks also to Joe
; Wright of Alpha Systems for his review and suggestions, as well as
; squeezing a few more bytes for us.
; Support for Plu*Perfect'a BackGrounder ii(tm) and ZDS DateStamper(tm) is
; included, as well as support for ZCPR/BGii WHEEL and PATH.
; ZSDOS is compatable with NZCOM by Joe Wright of Alpha Systems.
; ZSDOS is designed for Z80 compatible processors ONLY!!!
; ZSDOS is coded to run in Z280 protected mode and may be ROMmed.
; LEGAL DEPARTMENT: P2DOS was written by H.A.J. Ten Brugge, ZSDOS
; modifications were by Cameron W. Cotrill and Harold F. Bower.
; ZDDOS modifications were done by Carson Wilson, Cameron W. Cotrill
; and Harold F. Bower.
; No author assumes responsibility or liability in the use of this
; program or any of its support utilities.
; P2DOS is Copyright (C) 1985 by H.A.J. Ten Brugge - All Rights Reserved
; H.A.J. Ten Brugge
; F. Zernikestraat 207
; 7553 EC Hengelo
; Netherlands
; Permission to use P2DOS code in ZSDOS granted to Harold F. Bower and
; Cameron W. Cotrill in letter 28 March 1988
; Code sections marked (bm) are revisions suggested by Bridger Mitchell.
; Code sections marked (bh) are from SUPRBDOS mods to P2DOS by Benjamin Ho.
; Code sections marked (crw) are revisions to support internal datestamper
; and are Copyright (C) 1988 by Carson Wilson.
; NOTES: Backgrounder ii and DateStamper are trademarks of Plu*Perfect
; Systems. CP/M is a trademark of Digital Research, Incorporated.
; ZRDOS is a trademark of Echelon, Incorporated.
PAGE
;* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
; Version 1.2a, 11/04/89
; Assemble with : SLR Z80ASMP or ZMAC
; Revisions:
; 11/04/89 Moved home call to rddir so bios hostbuf always
; updated before dir read.
; 07/18/89 Fixed tderr routine in ZDDOS so return codes not
; CWC altered from tderr unless called from 102 or 103.
; 06/20/89 Fixed bug in F10 ^R that output 256 spaces if ^R
; CWC entered with tab counter =0.
;* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *