Re: git repository

From: silverdr_at_wfmh.org.pl
Date: Tue, 11 Nov 2014 22:27:12 +0100
Message-ID: <54627F30.2070906@wfmh.org.pl>
On 2014-11-11 22:11, groepaz@gmx.net wrote:
> On Tuesday 11 November 2014, 22:05:54 silverdr@wfmh.org.pl wrote:
>> On 2014-11-11 22:01, The Doctor wrote:
>>> On 11/11/2014 05:56 AM, groepaz@gmx.net wrote:
>>>> even back in the days when commodore was still an active company,
>>>> every decent programming book contained the full kernal (and
>>>> sometimes also basic) sourcecode/disassembly with comments. it
>>>> becoming a problem 30 years later is
>>>
>>> If this is the case, it might be fruitful to go searching for e-copies
>>> of some of these books.  Perhaps they're available at archive.org or
>>> something (like, for example, Lou Sanders' books are).
>>
>> This is the case but the disassembly done by (seemingly late..) Lee
>> Davison is by far the best ever. And we have it already in text/plain
>> format.
>
> imho having it in some format that can be assembled into an actual binary is a
> must these days - as that is the only (sane) way to make sure it doesnt
> contain errors.

In addition to what I wrote before, have a look at the quality of work 
there:

;************************************************************************************
;************************************************************************************
;
; first a whole load of equates

LAB_00	= $00			; 6510 I/O port data direction register
					; bit	default
					; ---	-------
					;  7	unused
					;  6	unused
					;  5	1 = output
					;  4	0 = input
					;  3	1 = output
					;  2	1 = output
					;  1	1 = output
					;  0	1 = output

LAB_01	= $01			; 6510 I/O port data register
					; bit	name		function
					; ---	----		--------
					;  7	unused
					;  6	unused
					;  5	cass motor	1 = off,	0 = on
					;  4	cass sw	1 = off,	0 = on
					;  3	cass data
					;  2	CHAREN	1 = I/O,	0 = chraracter ROM
					;  1	HIRAM		1 = Kernal,	0 = RAM
					;  0	LORAM		1 = BASIC,	0 = RAM

;LAB_02	= $02			; unused

; This vector points to the address of the BASIC routine which converts 
a floating point
; number to an integer, however BASIC does not use this vector. It may 
be of assistance
; to the programmer who wishes to use data that is stored in floating 
point format. The
; parameter passed by the USR command is available only in that format 
for example.

LAB_03	= $03			; float to fixed vector low byte
LAB_04	= $04			; float to fixed vector high byte

; This vector points to the address of the BASIC routine which converts 
an integer to a
; floating point number, however BASIC does not use this vector. It may 
be used by the
; programmer who needs to make such a conversion for a machine language 
program that
; interacts with BASIC.  To return an integer value with the USR command 
for example.

LAB_05	= $05			; fixed to float vector low byte
LAB_06	= $06			; fixed to float vector high byte

[...]

-- 
SD!

       Message was sent through the cbm-hackers mailing list
Received on 2014-11-11 22:02:56

Archive generated by hypermail 2.2.0.