Files in Pygmy Forth

F. Sergeant
{"title":"Files in Pygmy Forth","authors":"F. Sergeant","doi":"10.1145/259965.260019","DOIUrl":null,"url":null,"abstract":"Pygmy Forth allows simultaneous access to up to 15 DOS files. Each file has its own range of block numbers, thus nothing special needs to be done to switch between files. Pygmy file handling has gone through three stages. I found the first approach (through version 1.2) a pleasant improvement over F83, but not perfect. The current release (version 1.3) solved some problems, but at the expense of a more complicated setup procedure. The next version wit!l keep the functionality and restore the simplicity. File handling is a little too complex in Pygmy Forth version 1.3, so I have worked out a way to simplify it without losing any functionalist y. The following description traces the changes from the first version of Pygmy, through the current release, and beyond. Pygmy is based on Charles Moore’s cmFORTH for the Novix, but with many changes to suit me, the 8088 CPU, and DOS. My goal was a lean, powerful Forth, and Pygmy has met it, to my reasonable satisfaction, especially now that I’ve streamlined the file handling. Pygmy allows up to 15 DOS files to be open, and opened automatically. It does this by assigning different ranges of block numbers to the different files. Thus, any block in any file is available merely by referring to the proper block number. This makes copying between files as easy as copying within a single file, and solves what I feel is the key problem with F83’s file handIing the use of the same range of block numbers to refer to more than one file. Pygmy Permission to copy without fee sll or psrt of this material is granted, provided that the copies are not made or distributed for direct cmnmercisl advantage, the ACM copyright notice and the title of the publication and its date appear, and notice is given that copying is by permission of the Association for Computing Ma&in.ry. TO copy otherwise, O. t. republish, require. . fee and/or speciilc permission. 431991 ACM 0-89791-462-7/90/0200-0121 $1.50 has no need for the OPEN . . . FROM . . . of F83,, as all blocks are simultaneously available. In all the versions of Pygmy, the information for each file is kept in the FILES table. Each line or slot in the table is called a unit. The worcl . FILES prints the name, starting block#, status, etc. of each file in the table.","PeriodicalId":391657,"journal":{"name":"FORTH '90 and '91","volume":"43 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"1991-03-07","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"FORTH '90 and '91","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1145/259965.260019","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

Abstract

Pygmy Forth allows simultaneous access to up to 15 DOS files. Each file has its own range of block numbers, thus nothing special needs to be done to switch between files. Pygmy file handling has gone through three stages. I found the first approach (through version 1.2) a pleasant improvement over F83, but not perfect. The current release (version 1.3) solved some problems, but at the expense of a more complicated setup procedure. The next version wit!l keep the functionality and restore the simplicity. File handling is a little too complex in Pygmy Forth version 1.3, so I have worked out a way to simplify it without losing any functionalist y. The following description traces the changes from the first version of Pygmy, through the current release, and beyond. Pygmy is based on Charles Moore’s cmFORTH for the Novix, but with many changes to suit me, the 8088 CPU, and DOS. My goal was a lean, powerful Forth, and Pygmy has met it, to my reasonable satisfaction, especially now that I’ve streamlined the file handling. Pygmy allows up to 15 DOS files to be open, and opened automatically. It does this by assigning different ranges of block numbers to the different files. Thus, any block in any file is available merely by referring to the proper block number. This makes copying between files as easy as copying within a single file, and solves what I feel is the key problem with F83’s file handIing the use of the same range of block numbers to refer to more than one file. Pygmy Permission to copy without fee sll or psrt of this material is granted, provided that the copies are not made or distributed for direct cmnmercisl advantage, the ACM copyright notice and the title of the publication and its date appear, and notice is given that copying is by permission of the Association for Computing Ma&in.ry. TO copy otherwise, O. t. republish, require. . fee and/or speciilc permission. 431991 ACM 0-89791-462-7/90/0200-0121 $1.50 has no need for the OPEN . . . FROM . . . of F83,, as all blocks are simultaneously available. In all the versions of Pygmy, the information for each file is kept in the FILES table. Each line or slot in the table is called a unit. The worcl . FILES prints the name, starting block#, status, etc. of each file in the table.
在俾格米福斯的文件
侏儒Forth允许同时访问多达15个DOS文件。每个文件都有自己的块号范围,因此在文件之间切换不需要做任何特别的事情。侏儒文件处理经历了三个阶段。我发现第一种方法(通过1.2版本)比F83有了令人愉快的改进,但并不完美。当前版本(版本1.3)解决了一些问题,但代价是设置过程更加复杂。下一个版本的机智!我保留了功能,恢复了简单性。在Pygmy Forth 1.3版本中,文件处理有点过于复杂,所以我已经找到了一种方法来简化它,而不会失去任何功能。下面的描述跟踪了从Pygmy的第一个版本到当前版本以及之后的变化。Pygmy基于Charles Moore为Novix设计的cmFORTH,但是做了很多修改以适应我、8088 CPU和DOS。我的目标是一个精简、强大的Forth,而Pygmy已经满足了它,这让我相当满意,尤其是现在我已经简化了文件处理。Pygmy允许打开多达15个DOS文件,并自动打开。它通过为不同的文件分配不同范围的块号来实现这一点。因此,任何文件中的任何块仅通过引用适当的块号即可使用。这使得文件之间的复制就像在单个文件中复制一样容易,并解决了我认为F83文件处理使用相同范围的块号来引用多个文件的关键问题。只要副本不是为了直接商业利益而制作或分发,并且出现ACM版权声明、出版物的标题和日期,并且声明复制是由计算机协会(Association for Computing ma&ry)许可的,则授予免费复制本材料的许可。以其他方式复制,或重新出版,要求。费用和/或特别许可。431991 ACM 0-89791-462-7/90/0200-0121 $1.50不需要开放…来自……的F83,,因为所有块同时可用。在所有版本的Pygmy中,每个文件的信息都保存在FILES表中。表中的每一行或每一个槽称为一个单元。这个世界。FILES打印表中每个文件的名称、起始块#、状态等。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信