Code Monkey home page Code Monkey logo

a2basicinf's Introduction

a2basicinf

Open (and edit!) this project in 8bitworkshop.

DOWNLOAD the DOS 3.3 disk image from the releases page.

Simple utility to print out useful information about how much space your AppleSoft program is using. Gets loaded in $6000, which may or may not be important space for your AppleSoft program, so be sure to save it before running BASICINF!

Screenshot of BASICINF showing various values of program and variables locations, program size, variables+array size, and string sizes both before and after running garbage collection

Notes on building

To build via the Makefile, you'll need cc65 installed, and also deater's dos33fsprogs. Note that deater's repo contains many, many more things than you need for building this project - only the bits in utils/dos33fs-utils and utils/asoft_basic-utils are needed. You can go into those dirs and build them individually (and then place them somewhere on your path, so my Makefile will find them!).

Other dev notes

What are all these other files that aren't even used by the Makefile?, you may well ask. Good question!

I developed this utility (and most Apple II software I've made) using http://8bitworkshop.com/, which by default uses a fake-but-free Apple II ROM from the Apple II Go emulator project, and also is hardcoded to assume your program code starts at $803.

For this reason, I (a) include a correct apple2 ROM in my project, so that I have access to AppleSoft BASIC, and (b) have additional starter code in basicinf-startup.s, basicinf-basic.s, and load-and-run-basic.s, along with basicinf.cfg, the linker script for use in 8bws (as opposed to build.cfg, the linker script used in the Makefile).

This project includes code from other projects I've done:

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.