From: Groepaz (groepaz_at_gmx.net)
Date: 2002-12-23 14:17:54
On Monday 23 December 2002 07:46, Todd Elliott wrote:
> I find it wierd having to 'open' the screen, but for the sake of the
> exercise of understanding C from the perspective of 6502 assembly, I shall
> marshal on. :)
hehe, nothing weird with that :)
10 open 1,1,1 :rem open output to screen
20 print #1, "you rule" :rem output on screen
30 close 1
you even can do things like redirecting stdout...
10 open 4,4,128
20 cmd 4 :rem redirect stdout to printer
30 print "tara" :rem outputs not on screen but on printer
40 close 4
as you can see...that particular issue has nothing to do with C at all....
prerry much every OS there is does it like that :)
--
___ ___ .___________________ .___________ _______.
c=64 / | \| \__ ___/ \ \_ _____/ \ \ [groepaz]
gb / ' \ | | | / \ / \ | __)_ / | \ gp32
cgb \ . / | | |/ ' \| \/ | \ psx
gba \___|_ /|___| |____|\____|__ /_______ /\____|__ / dc
-----\/-----'---------------\/--------\/---------\/
http://www.hitmen-console.org Hitmen WWW Headquarters
http://fly.to/hitmen-groepaz my personal playground
http://rr.c64.org/silversurfer home of the RR debugger
ftp.musoftware.de/pub/groepaz cc65 dump site
----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo_at_musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.
This archive was generated by hypermail 2.1.3 : 2002-12-23 14:19:11 CET