SemiOT: Mourning for Classic Computing

From: Cameron Kaiser <spectre_at_stockholm.ptloma.edu>
Date: Wed Aug 15 20:13:48 2001

> > >I've always thought that one of the more simple assembly languages would
> > >be a great 'first language' for someone wanting to learn how to program.
> > >Who's with me?

> > Most assemblers haven't got a PRINT statement, so, no, I don't think so.

> Depends upon the environment. Under AmigaOS you have RawDoFmt(), which is
> part of Exec and available to Assembly language programmers (and it works
> similar to C's printf()). Under MS-DOS you have INT 21h, funtion 9, which
> prints a text string (ended by a `$'). But all you really need is a way to
> print out characters, leaving printing of numeric values as a programming
> exercise.

Besides, why not steal such stuff from BASIC ROM? On the C64, print a string
from memory by setting A/Y to the localtion and jsr $ab1e, and use the routine
at $bdcd that LIST uses to print line numbers for 16-bit unsigned int.

-- 
----------------------------- personal page: http://www.armory.com/~spectre/ --
 Cameron Kaiser, Point Loma Nazarene University * ckaiser_at_stockholm.ptloma.edu
-- FORTUNE: Ten weeks from Friday you won't remember this fortune at all. -----
Received on Wed Aug 15 2001 - 20:13:48 BST

This archive was generated by hypermail 2.3.0 : Fri Oct 10 2014 - 23:33:33 BST