Back to index |
Info for c128 |
wav:
8 or 16(not tested) bit, mono, 125000 Hz minimum
has the same problems like an original tape drive (tone head must
be adjusted to get working(no load error,...) wav-files)
zip:
must be placed in current directory
prg's are played in the order of the files in zip file
use LOAD or LOAD"" or LOAD"",1 for loading of normal programs
use LOAD"",1,1 for loading programs to their special address
several programs relies on more features
(loading other file types, writing, ...)
Discs
-----
only file load from drive 8 and 9 implemented
loads file from rom directory (*.prg,*.p00) (must NOT be specified on commandline)
or file from d64 image (here also directory LOAD"$",8 supported)
use LOAD"filename",8
or LOAD"filename",8,1 (for loading machine language programs at their address)
for loading
type RUN or the appropriate sys call to start them
several programs rely on more features
(loading other file types, writing, ...)
most games rely on starting own programs in the floppy drive
(and therefor cpu level emulation is needed)
Roms
----
.prg
.crt
.80 .90 .a0 .b0 .e0 .f0
files with boot-sign in it
recognized as roms
.prg files loaded at address in its first two bytes
.?0 files to address specified in extension
.crt roms to addresses in crt file
Quickloader
-----------
.prg and .p00 files supported
loads program into memory and sets program end pointer
(works with most programs)
program ready to get started with RUN
loads first rom when you press quickload key (numeric slash)
c64 mode
--------
hold down commodore key while resetting or turning on
type go64 at the c128 command mode
cpm mode
--------
cpm disk must be inserted in device 8
turn on computer
or
type boot at the c128 command mode
when problems start with -log and look into error.log file
rom dumping
-----------
Dumping of the roms from the running machine:
in the monitor program
s "drive:name",device,start,end
s "0:basic",8,f4000,fc000
s "0:editor",8,fc000,fd000
s "0:kernel",8,ee000,f0000
s "0:char128",8,ed000,ee000
*z80bios missing (funet says only 1 version!?)
I don't know, maybe there is a cpm utility allowing saving
the memory area 0-0xfff of bank 0.
(I don't want to develop (and can't test) this short complicated
program)
*c64basic and kernel (only 1 version!?)
in c64 mode
poke43,0:poke44,160:poke45,0:poke46,192:save"0:basic64",8
in c64 mode
for i=0 to 8191:poke 32*256+i, peek(224*256+i): next
poke43,0:poke44,32:poke45,0:poke46,64:save"0:kernel64",8
*c64 charset (swedish version or original c64 version)
in c128 mode
monitor
a 2000 sei
lda #33
sta 1
ldy #0
sty fa
sty fc
lda #c0
sta fd
lda #d0
sta fb
ldx #10
lda (fa),y
sta (fc),y
iny
bne 2015
inc fb
inc fd
dex
bne 2015
lda #37
sta 1
cli
rts
(additional enter to end assembler input)
x (to leave monitor)
go64 (answer with y)
sys 32*256
poke 43,0:poke44,192:poke45,0:poke46,208:save"0:char64",8
or in c64 mode
load the program in the attachment
load"savechar64",8,1
sys 32*256
poke 43,0:poke44,192:poke45,0:poke46,208:save"0:char64",8
c128d floppy disk bios:
I think you have to download a program
copying the bios to puffers.
Then you could read this buffer into the computer, or write
these buffers to disk.
Transportation to your pc:
1571 writing to mfm encoded disketts (in cpm mode only, or use program)
maybe the IBM CPM-86 formats are like the standard DOS formats.
but using dd may create images known by some other emulators.
1581 writes mfm encoded:
can one of these drives to a format know by linux?
Some years ago I build a simple adapter pc/parport to vc1541
floppy disk drive.
Dumping roms with epromer
-------------------------
c128
U18 (read compatible 2764?) 8kB c64 character rom, c128 character rom
U32 23128 (read compatible 27128?) 16kB c64 Basic, c64 Kernel
U33 23128 (read compatible 27128?) 16kB c128 Basic at 0x4000
U34 23128 (read compatible 27128?) 16kB c128 Basic at 0x8000
U35 23128 (read compatible 27128?) 16kB c128 Editor, Z80Bios, C128 Kernel
c128 cost reduced
U18 (read compatible 2764?) 8kB c64 character rom, c128 character rom
U32 23256 (read compatible 27256?) 32kB c64 Basic, c64 Kernel, c128 Editor, Z80Bios, C128 Kernel
U34 23256 (read compatible 27256?) 32kB C128 Basic
c128dcr
as c128 cr
U102 23256 (read compatible 27256?) 32kB 1571 system rom