Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

need some ML graphics routines

2 views
Skip to first unread message

David Murray

unread,
Apr 19, 2005, 7:11:16 PM4/19/05
to
I'm looking for some graphics routines for the C64. They don't need to be
fancy, just basic solid line drawing, mostly. Like where you give it two
sets of coordinates and it draws a solid line. I could probably write them
myself but why reinvent the wheel? I really need it to be a small and
simple as possible to take up very little RAM. Anybody got anything?

r_u_...@mybluelight.com

unread,
Apr 19, 2005, 10:07:22 PM4/19/05
to

There is an article in the December 1988 issue of TRANSACTOR on
page 16. The article contains a source code listing of a graphics
utility. I have never typed it in nor have I used it. TRANSACTOR
issue images may be on CSBRUCE's site at: http://www.csbruce.com
I have no source for TRANSACTOR type in programs.

DGRAPH from the April 1988 issue of COMPUTE GAZETTE page 72
may be too elaborate for your needs. DGRAPH is ML, but it's
callable from BASIC programs. COMPUTE GAZETTE typin programs
may be downloaded from: ftp://arnold.c64.org/pub/magazines/. I
don't know where the COMPUTE GAZETTE text articles can be found.

I saw a whole lot of C64 graphics stuff on
the C64 ARCHIVES at: http://www.q-link.cc/

You may want to browse through the C= HACKING issues. C= HACKING
can be downloaded from: http://www.ffd2.com/fridge/chacking/

Jim Lawless

unread,
Apr 20, 2005, 7:27:24 AM4/20/05
to
On Tue, 19 Apr 2005 23:11:16 GMT, in comp.sys.cbm you wrote:

>I'm looking for some graphics routines for the C64. They don't need to be
>fancy, just basic solid line drawing, mostly.

Take a look at Stephen Judd's graphics language extensions to C64
BASIC ... BLARG.

http://www.ffd2.com/fridge/programs/blarg/

Jim Lawless | MailSend Command-line Internet Mailer (SMTP)
ji...@radiks.net | Run & Hide Hide console-mode / batch-file windows
http://www.mailsend-online.com - http://www.radiks.net/~jimbo

MagerValp

unread,
Apr 20, 2005, 9:52:22 AM4/20/05
to
>>>>> "DM" == David Murray <spam...@stopspam.com> writes:

DM> I'm looking for some graphics routines for the C64. They don't
DM> need to be fancy, just basic solid line drawing, mostly. Like
DM> where you give it two sets of coordinates and it draws a solid
DM> line. I could probably write them myself but why reinvent the
DM> wheel? I really need it to be a small and simple as possible to
DM> take up very little RAM. Anybody got anything?

For small and simple, you probably can't beat Steve Judd's 512 byte
minigame code:

http://www.ffd2.com/fridge/rad/tetrattack.e.s

As others have pointed out, there's lots more in his fridge.

--
___ . . . . . + . . o
_|___|_ + . + . + . Per Olofsson, arkadspelare
o-o . . . o + Mage...@cling.gu.se
- + + . http://www.cling.gu.se/~cl3polof/

David Murray

unread,
Apr 20, 2005, 7:31:04 PM4/20/05
to

> Take a look at Stephen Judd's graphics language extensions to C64
> BASIC ... BLARG.
>
> http://www.ffd2.com/fridge/programs/blarg/
>

Yeah.. I saw that one.. but the stupid binary is in lynx format.. and for
some reason I'm having a terrible time getting it uncompressed. It took me
an hour to figure out how to use C1541 under VICE to get the file put into
a disk image so I could mount it as a drive letter, but when I run ultimate
lynx, it acts crazy and won't find any files.. sometimes it crashes with an
error in BASIC (even though it is an ML program) or tells me there is a
disk error. I suppose I can eventually use star-commander and put it on a
real 1541 disk and try it from there. I guess I'm just venting here.. but
how hard would it have been to post it in a .D64 or .PRG format?

Jim Lawless

unread,
Apr 20, 2005, 9:23:40 PM4/20/05
to
On Wed, 20 Apr 2005 23:31:04 GMT, David Murray
<spam...@stopspam.com> wrote:

>Yeah.. I saw that one.. but the stupid binary is in lynx format..

Starlynx was able to dissolve it. You can download the D64 from my
site here:

http://www.radiks.net/~jimbo/blarg.d64

Jim Lawless | CMD2EXE Convert batch files to single EXE
ji...@radiks.net | MailSend Command-line Internet Mailer (SMTP)

r_u_...@mybluelight.com

unread,
Apr 20, 2005, 10:19:22 PM4/20/05
to
David Murray wrote:
> > Take a look at Stephen Judd's graphics language extensions to C64
> > BASIC ... BLARG.
> >
> > http://www.ffd2.com/fridge/programs/blarg/
> >
>
> Yeah.. I saw that one.. but the stupid binary is in lynx format..

I am handycapped in this answer since I am using a C128 in C64
mode and a 1541 partition on a CMD hard drive. If you are
emulating a C64 on a PC, I hope you can transpose the follwing
suggestions into equivalent language for PC emulation.

.LNX files are archives that contain in turn other files. To
dissolve the BLARG .LNX archive, take the following 3 steps.

1. Download the .LNX file and copy it to a blank 1541 disk.
Set the device # containing the disk with the .LNX file to
8. You may want to store the .LNX file in another place
as well since .LNX files are destroyed when dissolved.

2. Download the LYNX archive processor "LYNX17" from :
http://www.funet.fi/pub/cbm/c64/archivers/index.html

3. Run LYNX17 and select DISSOLVE from the menu. The program proceeds
automatically from here. Once complete, the .LNX file dissappears
from the directory of the 1541 disk. New entries of files stored
in the .LNX archive now appear in the directory of the 1541 disk.

You may be able to use OMEGAQ from QLINK. I had to
use a newer program to dissolve the file. OMEGAQ
may not work on 1541 partitions on a hard drive.

David Murray

unread,
Apr 21, 2005, 8:44:55 AM4/21/05
to

> Starlynx was able to dissolve it. You can download the D64 from my
> site here:
>

Thanks.. I was able to get the binary. The source was easy enough to get,
but I wanted to play with the binary before dissecting the source too much.

Jeremy Sieracki

unread,
Apr 22, 2005, 12:39:14 PM4/22/05
to

Greetings,

Just recently, maybe a couple months, I posted some
Assembly language documentation and routines for
the Commodore 64, it was taken from a Commodore Magazine
and is decently compact and remarked,
This was posted to alt.binaries.emulator.cbm, but going there now,
I see that the messages are no longer availible (at least on my server)
so I will post them again, I have used the routines and they are real simple
to integrate into BASIC with SYS calls, or use them direct from ML,

The only thing I had to add as I recall was a routine to use XOR to flp
a pixel, and some routines to turn on and off the MEDRES screen and plot
to it instead of just HIRES (not too hard to do) as it is the routines
are just HIRES, and does PLOTs of single pixels and LINES of your desired
color,
so it should meet your needs,

Jeremy Sieracki
jeremys...@charter.net


Jeremy Sieracki

unread,
Apr 22, 2005, 1:12:42 PM4/22/05
to

Just now finished posting it to alt.binaries.emulators.cbm
Tho I will gladly email it to you if you want it and don't know
what to do with what I posted cause it is in YENC,
(download FIDOLOOK to integrate into Outlook Express the
ability to decode YENC)

www.fidolook.org

use PowerPost to post YENC messages to binary groups

http://www.cosmicwolf.com/power_post_2000.htm

if you want it emailed, send me a request at jeremys...@charter.net
the whole package is 6,039 kb, so you better have the email space to handle
that,

Jeremy Sieracki
jeremys...@charter.net


White Flame (aka David Holz)

unread,
Apr 24, 2005, 5:29:04 AM4/24/05
to
"Jeremy Sieracki" <jeremys...@charter.net> wrote in message
news:cgaae.5267$Gq6....@fe02.lga...

> Just now finished posting it to alt.binaries.emulators.cbm

Howabout posting to comp.binaries.cbm instead, so that the other 95% of people
can see it?

--
White Flame (aka David Holz)
http://www.white-flame.com/
(spamblock in effect)


Jeremy Sieracki

unread,
Apr 24, 2005, 5:42:51 AM4/24/05
to
> Howabout posting to comp.binaries.cbm instead, so that the other 95%
> of people can see it?

Sure, will do that,

Jeremy


0 new messages