I'm writing a trade sim for the Commodore 64, because (1) I like Traveller and (2) I like the C64 (nostalgia and a bit of a programming challenge).
The UWP has grown in the past decade. Most of this data is not important for a basic trading game. Here it is:
1910 Regina A788899-C Ri Pa Ph An Cp (Amindii)2 Varg0 Asla0 Sa { 4 } (D7E+5) [9C6D] BcCeF NS - 703 8 ImDd F7 V BD M3 V
I'm open to bright ideas about ways to compress this record, which are not too taxing on an 8-bit program. But first, some things to think about.
DISK ACCESS IS SLOW
The C64 disk drive is slow. Yes, emulation mode eases this some, but time is time. I typically lump worlds in subsector-sized files and name them with an x,y subsector index for easy access.
DISK SPACE IS PRECIOUS
How precious?
If I'm hardcore about it, I have 174k on one diskette. If I'm slightly less hardcore, I can use an 800k diskette. But for the moment I'm going to use just one diskette for the program and the data.
WHAT ABOUT TAPE?
I haven't tried it, but storing the data on a tape image might be better. One potential bottleneck is its linear nature. Anyway, even if tape works out, I'll still compress the UWP a bit because... well because these systems are slow, even when emulated.
MEMORY IS PRECIOUS
I've got 38k RAM, into which I shove subsets of my program and data at various times.
So nothing too fancy.
Next post I'll talk about whittling down the UWP first.
The UWP has grown in the past decade. Most of this data is not important for a basic trading game. Here it is:
1910 Regina A788899-C Ri Pa Ph An Cp (Amindii)2 Varg0 Asla0 Sa { 4 } (D7E+5) [9C6D] BcCeF NS - 703 8 ImDd F7 V BD M3 V
I'm open to bright ideas about ways to compress this record, which are not too taxing on an 8-bit program. But first, some things to think about.
DISK ACCESS IS SLOW
The C64 disk drive is slow. Yes, emulation mode eases this some, but time is time. I typically lump worlds in subsector-sized files and name them with an x,y subsector index for easy access.
DISK SPACE IS PRECIOUS
How precious?
If I'm hardcore about it, I have 174k on one diskette. If I'm slightly less hardcore, I can use an 800k diskette. But for the moment I'm going to use just one diskette for the program and the data.
WHAT ABOUT TAPE?
I haven't tried it, but storing the data on a tape image might be better. One potential bottleneck is its linear nature. Anyway, even if tape works out, I'll still compress the UWP a bit because... well because these systems are slow, even when emulated.
MEMORY IS PRECIOUS
I've got 38k RAM, into which I shove subsets of my program and data at various times.
So nothing too fancy.
Next post I'll talk about whittling down the UWP first.