AppleIIAsm-Collection/README.md~

108 lines
3.1 KiB
Markdown
Raw Normal View History

# AppleIIAsmLib
A general purpose ASM libriary for the Apple II. Assembled in Merlin 8 Pro
---
## 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.
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:
CORE DISK
* stdio.lib: Standard Input/Output library.
2019-01-05 21:07:18 +00:00
* XPRINT
* DPRINT
* THLIN
* TVLIN
* CURSFOR
* CURSBAK
* CURSDN
* CURSUP
* TFILLA
* SINPUT
* GPBX
* common.lib: Common, useful subroutines: memory swaps, etc.
2019-01-05 21:07:18 +00:00
* MEMFILL
* MEMMOVE
* DELAYMS
* ZSAVE
* ZLOAD
2018-11-02 01:37:10 +00:00
MATH DISK
* math8.lib: 8-bit Integer Math Library.
2019-01-05 21:07:18 +00:00
* RND8
* RANDB
* MUL8
* DIV8
* math16.lib: 16-bit Integer Math Library.
2019-01-05 21:07:18 +00:00
* ADD16
* SUB16
* MUL16
* SDIV16
* UDIV16
* SREM16
* UREM16
* CMP16
* RND16
2018-11-02 01:37:10 +00:00
IO DISK
* fileio.lib: File Input/Output Library.
2019-01-05 21:07:18 +00:00
* BSAVE (may be deleted)
* BLOAD (may be deleted)
* TMODE
* CMD
* FPRINT
* FPSTR
* FINPUT
2018-11-17 03:42:58 +00:00
* in the future, serial routines will also reside here.
2018-11-02 01:37:10 +00:00
ARRAYS DISK
* arrays81.lib: library for managing 1-dimensional 8-bit arrays.
2019-01-05 21:07:18 +00:00
* DIM81
* AGET81
* APUT81
* arrays82.lib: library for managing 2-dimensional 8-bit arrays.
2019-01-05 21:07:18 +00:00
* DIM82
* AGET82
* APUT82
* 16-bit array libraries will also be on this disk in the future
STRINGS DISK
* strings.lib: Library for managing strings.
2019-01-05 21:07:18 +00:00
* STRCOMP
* STRCAT
* ASC2STR
* STR2ASC
* PRNSTR
* NUM2STR
* STR2NUM
2018-11-17 03:46:01 +00:00
* substrings.lib: Library for manipulating substrings.
2019-01-05 21:07:18 +00:00
* SUBPOS
* SUBCOPY
* SUBDEL
* SUBINS
2018-11-17 03:42:58 +00:00
~~LORES DISK~~
* ~~lores.lib: Library for fast(er) graphics in low resolution mode.~~
2018-11-02 01:37:10 +00:00
2018-11-17 03:42:58 +00:00
~~HIRES DISK~~
* ~~hires.lib: Library for fast(er) graphics in high resolution mode.~~
2018-11-02 01:37:10 +00:00
2018-11-17 03:42:58 +00:00
~~HIRES DISK 2~~
* ~~hireschar.lib: High Resolution mode text character library.~~
* ~~hiresshapes.lib: Routines for creating lines, circles, etc.~~
2018-11-17 03:42:58 +00:00
~~MISC DISK~~
* ~~sound.lib: Music and sound effects library.~~
* ~~applesoft.lib: Library for interfacing ASM programs with Applesoft BASIC.~~
2018-11-17 03:42:58 +00:00
~~UTIL DISK~~
* ~~various useful utilities~~
2018-11-17 03:42:58 +00:00
~~FPMATH DISK 1 (and maybe a second one)~~
* ~~fpmath.lib: Floating-point math library~~
2018-11-17 03:42:58 +00:00
~~80COL DISK~~
* ~~stdio library and some routines for double lores and double hires~~