text
stringlengths
0
99.6k
// Loop to output bits of data
delay(1);
for (bitloop=0; bitloop<8; bitloop++)
{
outportb(PORTADR, RST | SRQ | ((byteval & 1) ? DAT : 0) | mode);
delay(1);
outportb(PORTADR, RST | SRQ | CLK | ((byteval & 1) ? DAT : 0) | mode);
delay(1);
byteval >>= 1;
}
// Set CLK low and DAT high for end of byte, printer will ACK with DAT low
outportb(PORTADR, RST | SRQ | DAT | mode);
while((inportb(PORTADR) & DAT));
}
To all who may be interested:
I have some original Commodore 64 software disks with manuals, cartridges,
and documentation. If anyone wants any of it, reply via E-mail. In most
cases all that you would have to provide is a SASE (self addressed, stamped
envelope). There is no charge for any of this, unless I have to send what
you want in a huge box. All you would need to do is just pay for the
shipping charges. I've noticed that some others try to make a few bucks on
the shipping charges. I will not do that. The post office is a block away
and I don't mind investing a few minutes to find out what the cost will be.
Here is what I have that's up for grabs:
Originals:
Sublogic Flight Simulator II w/Pilot's Handbook and Flight Physics manual
Easy Script 64 w/manual
The Manager w/manual
Superbase 64 w/manual
GEOS w/manual
Mind Prober w/manual (Human Edge Software)
Talking Terminal w/manual, Easy Speech w/manual, and cartridge
Masters of Time (Cosmi Software)
Super Expander Cartrige w/manual
Magic Desk Cartridge
Music Data Midi Interface
Vic 20 Cartriges: Jupiter Lander, Cosmic Cruncher, & Sargon Chess
Vic 2 Biorythm tape
1571 Disk Drive User's guide
Email me at 105547,2714. (105547,2714@Compuserve.Com)
No one in my area needs any of these items, and I can't bring myself to just
toss it in the garbage can.
Stan
105547,2714
(PS: If you think I should toss it in the garbage, tell me.)
(Garbage goes out on Monday nights.)
========================================
The program C-64 Wedge, which comes
with your 1541 Disk Drive Test Disk, is
a special program which will allow you
much easier handling of ALL disk
operations. When you want to use it,
just type in:
LOAD"C-64 WEDGE",8
It will LOAD quickly for you, and when
you RUN it, it boots in the actual
machine language coding for phe spe9s.
|leave the diskette in the drive until
you see the COPYRIGHT notice for DOS5.1
on your screen.
These are the actual syntax of the
new DOS 5.1 Disk D`ive Commands:
=======================================
COMMAND WEDGE SYNTAX
=======================================
LOAD"name",8 /name
LOAD"name",8,1 %name
SAVE"name",8 <back arrow>name
to save with replace:
SAVE"@0:name",8 <back arrow>@0:name
LOAD"name",8 & RUN it ^name
======5====8==
Remember all of the following
commands to the disk may be
prefaced with either
a GREATER THAN sign >
or an 'AT' sign @
===============
Read Error Channel > <<RETURN>>
Scratch File (erase) >S:name
Form Disk (NEW) >N:name,ID#
Initialize Drive >I
Validate Disk >V
Rename File >R:new name=old name
Copy File(s) >C:new name=old name*
****COPY can also be used to CONCAT
up to 4 files! SYNTAX follows: