/[projet1]/public/pc/tools/osdk/main/Osdk/_final_/Roms/basic10.pch
Defence Force logotype

Contents of /public/pc/tools/osdk/main/Osdk/_final_/Roms/basic10.pch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1002 - (show annotations)
Sun Dec 8 10:50:26 2013 UTC (6 years ago) by dbug
File size: 2090 byte(s)
Resynchronized my own changes to the OSDK with what was in the depot.
From now on I will continue the changes directly with the depot version, and try to update more regularly.
The reason I had this big change is that I had two computers with local changes done in demo parties when working on demos, where I did the fixes to handle Euphoric and Oricutron, plus new tools, modified tools, etc... giant mess.
I do not guarantee that what is on the depot is bug free, but it's the version I'm using right now (My OSDK var points to the public\pc\tools\osdk\main\Osdk\_final_ folder.
1 ;
2 ; ROM patches file
3 ;
4 ; This file describes how to patch a ROM for things like turbotape,
5 ; and filename decoding.
6 ;
7
8 ; ****** ROM INFORMATION ******
9
10 ; This part isn't actual patches, just information about
11 ; the hardware the ROM expects to be present.
12
13 ; ROM expects a special keyboard layout?
14 keymap = qwerty
15
16 ; ****** FILENAME DECODING *******
17
18 ; When the PC is about to execute this address, we should be at a point
19 ; in CLOAD/CSAVE/STORE/RECALL where the filename is valid in memory.
20 fd_cload_getname_pc = $e4af
21 fd_csave_getname_pc = $e7ef
22 ;fd_store_getname_pc =
23 ;fd_recall_getname_pc =
24
25 ; The address to read the CLOAD filename
26 fd_getname_addr = $0035
27
28
29 ; ****** TURBOTAPE ******
30
31 ; Address of the "Cassette Sync" function in ROM
32 tt_getsync_pc = $e696
33
34 ; Address of the RTS at the end of the cassette sync function (so we can
35 ; skip the function)
36 tt_getsync_end_pc = $e6b9
37
38 ; If turbotape is enabled, but no tape is inserted, the cassette sync
39 ; function will be executed normally. Here we have an address inside the
40 ; loop that waits for the cassette sync signal, so that we can break out
41 ; of it if a tape is inserted.
42 tt_getsync_loop_pc = $e681
43
44 ; Address of the "Read Byte" function in ROM
45 tt_readbyte_pc = $e630
46
47 ; Address of the RTS at the end of the read byte function
48 tt_readbyte_end_pc = $e65b
49
50 ; Set carry at end of readbyte routine?
51 tt_readbyte_setcarry = no
52
53 ; In order to simulate the effects of the read byte routine, you can
54 ; specify an address to write the byte read, and an address to write
55 ; zero to.
56 tt_readbyte_storebyte_addr = $002f
57 ;tt_readbyte_storezero_addr =
58
59 ; Address of the "put byte" function in ROM
60 tt_putbyte_pc = $e5c6
61
62 ; Address of the RTS at the end of the put byte function
63 tt_putbyte_end_pc = $e5f2
64
65 ; Address of the RTS at the end of CSAVE
66 tt_csave_end_pc = $e7fe
67
68 ; Address of the RTS at the end of STORE
69 ;tt_store_end_pc =
70
71 ; Address of the function that writes the tape leader
72 ; (so we can write a shorter one)
73 tt_writeleader_pc = $e6ba
74 tt_writeleader_end_pc = $e6c9

  ViewVC Help
Powered by ViewVC 1.1.26