mirror of
https://github.com/nathanriggs/AppleIIAsm-Collection.git
synced 2024-11-23 15:32:08 +00:00
Documentation
Preliminary organization
This commit is contained in:
parent
03636aa196
commit
25c9affb02
47
README.md
47
README.md
@ -1,27 +1,44 @@
|
|||||||
# AppleIIAsmLib
|
# AppleIIAsmLib
|
||||||
A general purpose ASM libriary for the Apple II. Assembled in Merlin 8 Pro
|
A general purpose ASM libriary for the Apple II. Assembled in Merlin 8 Pro
|
||||||
|
---
|
||||||
|
## Table of Contents
|
||||||
|
* Introduction
|
||||||
|
* Disk Overviews
|
||||||
|
* Disk 1: STDIO
|
||||||
|
*
|
||||||
|
* Macro Subroutine Overlap Table
|
||||||
|
* Detailed Descriptions: Macros
|
||||||
|
* Detailed Descriptions: Subroutines
|
||||||
|
|
||||||
---
|
---
|
||||||
## Introduction
|
## Introduction
|
||||||
This is a general purpose library in 6502 Assembly for the Apple II. I am learning both Git and Assembly for the first time as I create, update and maintain this, so expect some mishaps: wasted CPU cycles, weird documentation, accidental catastrophes, and so on. I am using Merin 8 Pro (DOS 3.3) for this project, but this should be fairly easy to convert to other assemblers as well as other 6502-based systems.
|
This is a general purpose library in 6502 Assembly for the Apple II. I am learning both Git and Assembly for the first time as I create, update and maintain this, so expect some mishaps: wasted CPU cycles, weird documentation, accidental catastrophes, and so on. I am using Merin 8 Pro (DOS 3.3) for this project, but this should be fairly easy to convert to other assemblers as well as other 6502-based systems.
|
||||||
|
|
||||||
Ultimately, my aim is to create a large enough collection of routines to address any domain of development for the Apple II family in Assembly. I will be heavily relying on texts like Roger Wagner and Chris Torrence's _Assembly Lines_ and Lance Leventhal's _6502 Assembly Language Routines_, as well as a plethora of online sources. I'll do my best to acknowledge when a routine is inspired by (or mostly copied from) another source, and will exclude them from the Appache License 2.0 when necessary. If you find your own source here, but would rather it not be here, please reach out to me and I'll remove it immediately.
|
Ultimately, my aim is to create a large enough collection of routines to address any domain of development for the Apple II family in Assembly. I will be heavily relying on texts like Roger Wagner and Chris Torrence's _Assembly Lines_ and Lance Leventhal's _6502 Assembly Language Routines_, as well as a plethora of online sources. I'll do my best to acknowledge when a routine is inspired by (or mostly copied from) another source, and will exclude them from the Appache License 2.0 when necessary. If you find your own source here, but would rather it not be here, please reach out to me and I'll remove it immediately.
|
||||||
|
|
||||||
Planned libraries include, along with associated Macros:
|
---
|
||||||
|
## Disk Overviews
|
||||||
|
Disk 1: STDIO
|
||||||
|
* stdio.mac: Standard Input/Output library.
|
||||||
|
* PRN: Flexible (screen) Printing routine
|
||||||
|
* PCR: Print Carraige Return
|
||||||
|
* INP: String Input Macro
|
||||||
|
* SCPOS: Set Cursor position at X,Y
|
||||||
|
* SETCX: Set Cursor Horizontal Position
|
||||||
|
* SETCY: Set Cursor Vertical Position
|
||||||
|
* CURF: Move Cursor Forward by [n] spaces
|
||||||
|
* CURD: Move Cursor Down by [n] spaces
|
||||||
|
* CURU: Move Cursor Up by [n] spaces
|
||||||
|
* CURB: Move Cursor Backward by [n] spaces
|
||||||
|
* RCPOS: Read Cursor Position
|
||||||
|
* PDL: Read Current Paddle State
|
||||||
|
* PBX: Read State of Paddle Button [x]
|
||||||
|
* THLIN: Text Horizontal Line Fill with Character [n]
|
||||||
|
* TVLIN: Text Vertical Line Fill with Character [n]
|
||||||
|
* TFILL: Text Fill square [x1],[x2],[y1],[y2] with Character [n]
|
||||||
|
|
||||||
CORE DISK
|
Disk 2: COMMON / REQUIRED
|
||||||
* stdio.lib: Standard Input/Output library.
|
* common.mac: Common, useful subroutines: memory swaps, etc.
|
||||||
* XPRINT
|
|
||||||
* DPRINT
|
|
||||||
* THLIN
|
|
||||||
* TVLIN
|
|
||||||
* CURSFOR
|
|
||||||
* CURSBAK
|
|
||||||
* CURSDN
|
|
||||||
* CURSUP
|
|
||||||
* TFILLA
|
|
||||||
* SINPUT
|
|
||||||
* GPBX
|
|
||||||
* common.lib: Common, useful subroutines: memory swaps, etc.
|
|
||||||
* MEMFILL
|
* MEMFILL
|
||||||
* MEMMOVE
|
* MEMMOVE
|
||||||
* DELAYMS
|
* DELAYMS
|
||||||
|
106
README.md~
106
README.md~
@ -10,77 +10,77 @@ Planned libraries include, along with associated Macros:
|
|||||||
|
|
||||||
CORE DISK
|
CORE DISK
|
||||||
* stdio.lib: Standard Input/Output library.
|
* stdio.lib: Standard Input/Output library.
|
||||||
..* XPRINT
|
* XPRINT
|
||||||
..* DPRINT
|
* DPRINT
|
||||||
..* THLIN
|
* THLIN
|
||||||
..* TVLIN
|
* TVLIN
|
||||||
..* CURSFOR
|
* CURSFOR
|
||||||
..* CURSBAK
|
* CURSBAK
|
||||||
..* CURSDN
|
* CURSDN
|
||||||
..* CURSUP
|
* CURSUP
|
||||||
..* TFILLA
|
* TFILLA
|
||||||
..* SINPUT
|
* SINPUT
|
||||||
..* GPBX
|
* GPBX
|
||||||
* common.lib: Common, useful subroutines: memory swaps, etc.
|
* common.lib: Common, useful subroutines: memory swaps, etc.
|
||||||
..* MEMFILL
|
* MEMFILL
|
||||||
..* MEMMOVE
|
* MEMMOVE
|
||||||
..* DELAYMS
|
* DELAYMS
|
||||||
..* ZSAVE
|
* ZSAVE
|
||||||
..* ZLOAD
|
* ZLOAD
|
||||||
|
|
||||||
MATH DISK
|
MATH DISK
|
||||||
* math8.lib: 8-bit Integer Math Library.
|
* math8.lib: 8-bit Integer Math Library.
|
||||||
..* RND8
|
* RND8
|
||||||
..* RANDB
|
* RANDB
|
||||||
..* MUL8
|
* MUL8
|
||||||
..* DIV8
|
* DIV8
|
||||||
* math16.lib: 16-bit Integer Math Library.
|
* math16.lib: 16-bit Integer Math Library.
|
||||||
..* ADD16
|
* ADD16
|
||||||
..* SUB16
|
* SUB16
|
||||||
..* MUL16
|
* MUL16
|
||||||
..* SDIV16
|
* SDIV16
|
||||||
..* UDIV16
|
* UDIV16
|
||||||
..* SREM16
|
* SREM16
|
||||||
..* UREM16
|
* UREM16
|
||||||
..* CMP16
|
* CMP16
|
||||||
..* RND16
|
* RND16
|
||||||
|
|
||||||
IO DISK
|
IO DISK
|
||||||
* fileio.lib: File Input/Output Library.
|
* fileio.lib: File Input/Output Library.
|
||||||
..* BSAVE (may be deleted)
|
* BSAVE (may be deleted)
|
||||||
..* BLOAD (may be deleted)
|
* BLOAD (may be deleted)
|
||||||
..* TMODE
|
* TMODE
|
||||||
..* CMD
|
* CMD
|
||||||
..* FPRINT
|
* FPRINT
|
||||||
..* FPSTR
|
* FPSTR
|
||||||
..* FINPUT
|
* FINPUT
|
||||||
* in the future, serial routines will also reside here.
|
* in the future, serial routines will also reside here.
|
||||||
|
|
||||||
ARRAYS DISK
|
ARRAYS DISK
|
||||||
* arrays81.lib: library for managing 1-dimensional 8-bit arrays.
|
* arrays81.lib: library for managing 1-dimensional 8-bit arrays.
|
||||||
..* DIM81
|
* DIM81
|
||||||
..* AGET81
|
* AGET81
|
||||||
..* APUT81
|
* APUT81
|
||||||
* arrays82.lib: library for managing 2-dimensional 8-bit arrays.
|
* arrays82.lib: library for managing 2-dimensional 8-bit arrays.
|
||||||
..* DIM82
|
* DIM82
|
||||||
..* AGET82
|
* AGET82
|
||||||
..* APUT82
|
* APUT82
|
||||||
* 16-bit array libraries will also be on this disk in the future
|
* 16-bit array libraries will also be on this disk in the future
|
||||||
|
|
||||||
STRINGS DISK
|
STRINGS DISK
|
||||||
* strings.lib: Library for managing strings.
|
* strings.lib: Library for managing strings.
|
||||||
..* STRCOMP
|
* STRCOMP
|
||||||
..* STRCAT
|
* STRCAT
|
||||||
..* ASC2STR
|
* ASC2STR
|
||||||
..* STR2ASC
|
* STR2ASC
|
||||||
..* PRNSTR
|
* PRNSTR
|
||||||
..* NUM2STR
|
* NUM2STR
|
||||||
..* STR2NUM
|
* STR2NUM
|
||||||
* substrings.lib: Library for manipulating substrings.
|
* substrings.lib: Library for manipulating substrings.
|
||||||
..* SUBPOS
|
* SUBPOS
|
||||||
..* SUBCOPY
|
* SUBCOPY
|
||||||
..* SUBDEL
|
* SUBDEL
|
||||||
..* SUBINS
|
* SUBINS
|
||||||
|
|
||||||
~~LORES DISK~~
|
~~LORES DISK~~
|
||||||
* ~~lores.lib: Library for fast(er) graphics in low resolution mode.~~
|
* ~~lores.lib: Library for fast(er) graphics in low resolution mode.~~
|
||||||
|
Loading…
Reference in New Issue
Block a user