Source codes (2)

Date: Fri, 26 Dec 2014 10:17:53 +0100
Message-ID: <>
Hallo allemaal,

I included JiffyDOS 5.0 in my 'universal' 1541 source code. OK, it 
made this source even less readers friendly but it is still doable. 
And my little converter turns it into seven different readable 
versions in less than a second. And all these versions can be 
compiled as well.

I didn't include 1541-II so far because I thought there were too may 
differences that could make things completely unreadable. But first, 
the differences weren't that many and second, I think that 
editbility is IMHO more important than readability. That with my 
converter in mind. So I'm going to include 1541-II a well

I think I have two choices with converting my sources to XA, CA65 
and 64tas:
- using the universal file
- using all the different sources as base

In the last cae it is just a matter of programming to read 
seven/eight files and to create another extra 21/24 ones.

In the first case I need a bit of help. I added conditional branches 
to the very first file and I just want to be sure how to translate 
them. I would be pleased if someone familiar with conditional 
branches in the other assemblers could translate them, please.

A simple branche:

.if Version=4				; 1540
;				      1540
;	This source code generates the ROM for the 1540 in the address
;				      1541
;	This source code generates the ROM for the 1541 in the address

A branch with more than one value:

.if Version=5 | Version=6 | Version=7
	jsr	WaitLoop0		;				[EA4E]

A nested one:

.if Version=7				; JiffyDOS 6.01
.tz 'JIFFYDOS 5.0 1541'
.if Version=4				; 1540
.tz 'CBM DOS V2.6 V170'
.tz 'CBM DOS V2.6 1541'

Thank you very much in advance!

Kind regards / Met vriendelijke groet, Ruud Baltissen

       Message was sent through the cbm-hackers mailing list
Received on 2014-12-26 10:00:04

Archive generated by hypermail 2.2.0.