Browse Prior Art Database

Method of Using Available Memory for Block Move Operations in Note-Writer

IP.com Disclosure Number: IPCOM000038851D
Original Publication Date: 1987-Mar-01
Included in the Prior Art Database: 2005-Feb-01
Document File: 2 page(s) / 19K

Publishing Venue

IBM

Related People

Grafe, RJ: AUTHOR [+3]

Abstract

A way is described to move a large block of text within the Notewriter work space without using up an equally large block of extra memory. Notewriter is a mini-application that provides a way for the user to create, save, and edit simple notes. The size of a note is limited to about 12K bytes of memory or about 7-8 pages of text. Notes may be saved and retrieved from diskette as standard ASCII files using IBM PC-DOS file-naming conventions. Full-screen editing support is provided for the user to insert or delete characters, lines, and blocks. A method of doing block moves in a way that conserves memory by using memory that is already available is described. (Image Omitted) The Notewriter mini-application is designed to run in a minimum amount of RAM storage.

This text was extracted from a PDF file.
At least one non-text object (such as an image or picture) has been suppressed.
This is the abbreviated version, containing approximately 66% of the total text.

Page 1 of 2

Method of Using Available Memory for Block Move Operations in Note- Writer

A way is described to move a large block of text within the Notewriter work space without using up an equally large block of extra memory. Notewriter is a mini-application that provides a way for the user to create, save, and edit simple notes. The size of a note is limited to about 12K bytes of memory or about 7-8 pages of text. Notes may be saved and retrieved from diskette as standard ASCII files using IBM PC-DOS file-naming conventions. Full-screen editing support is provided for the user to insert or delete characters, lines, and blocks. A method of doing block moves in a way that conserves memory by using memory that is already available is described.

(Image Omitted)

The Notewriter mini-application is designed to run in a minimum amount of RAM storage. It is important that the block move function not require any extra memory. The memory map of Notewriter's work area is shown in the figure. The 12K bytes of text space may be filled with the text of the note. The 512-byte transfer buffer is used in reading in a note from diskette. To do a block move, the block must be inserted somewhere before it is deleted from its original position. To insert the block in its "target" position before deleting the original would require extra memory the size of the block. The first part of the solution is to move the block in pieces, thus using only extra memory the size of the pieces you move. This m...