Paul Gardner-Stephen
|
e547b56003
|
fix various problems with LOAD taking a real filename. More to do.
|
2019-05-05 01:26:37 +09:30 |
|
Paul Gardner-Stephen
|
f14cf20c92
|
explicitly compare read result with zero now that under ROM routines preserve P
|
2019-05-05 00:54:53 +09:30 |
|
Paul Gardner-Stephen
|
66964ab567
|
fix routines to peek/poke under ROMs
|
2019-05-05 00:53:14 +09:30 |
|
Paul Gardner-Stephen
|
000b87b87b
|
send whole filename, instead of first char until end of time.
|
2019-05-05 00:52:41 +09:30 |
|
Paul Gardner-Stephen
|
4958ad696f
|
more work towards making LOAD command accept filename
|
2019-05-05 00:45:26 +09:30 |
|
Paul Gardner-Stephen
|
2824abafd9
|
remove debug output
|
2019-05-05 00:27:01 +09:30 |
|
Paul Gardner-Stephen
|
74aaf9fe3f
|
fix bug in print_integer with digit 9
|
2019-05-05 00:25:15 +09:30 |
|
Paul Gardner-Stephen
|
5586e61ab9
|
fix loading files > 255 bytes long.
|
2019-05-05 00:14:21 +09:30 |
|
Paul Gardner-Stephen
|
f80b49b845
|
relink BASIC lines after loading a program.
|
2019-05-05 00:11:19 +09:30 |
|
Paul Gardner-Stephen
|
1b75d2bbfd
|
remove debug
|
2019-05-05 00:11:13 +09:30 |
|
Paul Gardner-Stephen
|
6d74679a5c
|
set end of loaded memory pointer in BASIC LOAD routine. Other small fixes.
|
2019-05-04 23:52:48 +09:30 |
|
Paul Gardner-Stephen
|
0a97a16552
|
remove some debug output
|
2019-05-04 23:41:19 +09:30 |
|
Paul Gardner-Stephen
|
19c9d655ce
|
clear reverse video flag after displaying each line
|
2019-05-04 23:41:07 +09:30 |
|
Paul Gardner-Stephen
|
4a3ea0d091
|
Start implementing LOAD KERNAL routine to actually load where it should.
|
2019-05-04 23:38:42 +09:30 |
|
Paul Gardner-Stephen
|
fa55c83fff
|
generally remove some debug output, add missing file, and make KERNAL LOAD routine more complete.
|
2019-05-04 23:12:54 +09:30 |
|
Paul Gardner-Stephen
|
d124349e50
|
handle EOI and generally get closer to a working LOAD routine
|
2019-05-04 23:05:23 +09:30 |
|
Paul Gardner-Stephen
|
287953dab6
|
fix latching of initial clock sequence when receiving a byte
|
2019-05-04 22:54:46 +09:30 |
|
Paul Gardner-Stephen
|
1e524eb8be
|
send an invalid command instead.
|
2019-05-04 22:30:36 +09:30 |
|
Paul Gardner-Stephen
|
ee87f4a775
|
get to the point of being able to receive some bytes before locking up.
|
2019-05-04 22:28:29 +09:30 |
|
Paul Gardner-Stephen
|
ea070f9bfe
|
... and actually read the DATA bit when recording data in iec_rx_byte
|
2019-05-04 22:20:57 +09:30 |
|
Paul Gardner-Stephen
|
c80ff23599
|
... and fix the same stupid use of wrong bit in iec_wait_for_clock_assert
|
2019-05-04 22:18:41 +09:30 |
|
Paul Gardner-Stephen
|
b1945095fc
|
fix stupid checking of wrong bit in iec_wait_for_clock_release
|
2019-05-04 22:16:47 +09:30 |
|
Paul Gardner-Stephen
|
acbac9e5f8
|
simplify and fix iec_turnaround_to_listen based on 1541-III documentation
|
2019-05-04 22:13:59 +09:30 |
|
Paul Gardner-Stephen
|
37277ba5a3
|
try just reading error channel as a test
|
2019-05-04 22:09:42 +09:30 |
|
Paul Gardner-Stephen
|
d0932029bb
|
actually try 255 times before giving up when waiting for talker turnaround.
|
2019-05-04 22:09:19 +09:30 |
|
Paul Gardner-Stephen
|
84841ab283
|
fix bug in iec_tx_byte in acknowledgement check.
|
2019-05-04 22:01:36 +09:30 |
|
Paul Gardner-Stephen
|
cdbb1b8c58
|
implement dummy read from command channel routine to aid debugging
|
2019-05-04 18:09:40 +09:30 |
|
Paul Gardner-Stephen
|
27432fa745
|
fix clearing C flag on return.
|
2019-05-04 18:08:57 +09:30 |
|
Paul Gardner-Stephen
|
c536780970
|
fix mounting of disk image for test to not auto-run anything
|
2019-05-04 17:25:48 +09:30 |
|
Paul Gardner-Stephen
|
eedc7e7b7e
|
mount a D64 in VICE during tests, so that there is something to read
|
2019-05-04 17:13:27 +09:30 |
|
Paul Gardner-Stephen
|
6dd434c688
|
go back to trying to debug real file situation
|
2019-05-04 17:08:21 +09:30 |
|
Paul Gardner-Stephen
|
79017d2d50
|
fix FILE NOT FOUND detection in IEC ATN turnaround
|
2019-05-04 17:07:05 +09:30 |
|
Paul Gardner-Stephen
|
8994f3c608
|
generally try to debug the FILE NOT FOUND situation
|
2019-05-04 17:00:40 +09:30 |
|
Paul Gardner-Stephen
|
49d5733246
|
fix some bugs in IEC ATN turnaround
|
2019-05-04 16:59:37 +09:30 |
|
Paul Gardner-Stephen
|
cc92b7d7e0
|
fix typo in iec_release_atn
|
2019-05-04 16:37:24 +09:30 |
|
Paul Gardner-Stephen
|
66c319f116
|
fix timeout comparison in iec_tx_byte
|
2019-05-04 16:35:04 +09:30 |
|
Paul Gardner-Stephen
|
7c89705dc6
|
nope, that didn't help at all, but did indeed result in live-lock as feared.
|
2019-05-04 12:02:52 +09:30 |
|
Paul Gardner-Stephen
|
3e0c6e3c1e
|
try to fix ATN turn around to listen
|
2019-05-04 12:02:25 +09:30 |
|
Paul Gardner-Stephen
|
9f05cc3e4c
|
instrument to debug loading.
|
2019-05-04 11:52:14 +09:30 |
|
Paul Gardner-Stephen
|
cc3c17a48a
|
add missing file
|
2019-05-04 11:47:52 +09:30 |
|
Paul Gardner-Stephen
|
9f6f179666
|
implement the rest of iec_rx_byte
|
2019-05-04 11:46:51 +09:30 |
|
Paul Gardner-Stephen
|
dec2714ba0
|
begin implementing iec_rx_byte and rest of LOAD sequence
|
2019-05-04 11:30:03 +09:30 |
|
Paul Gardner-Stephen
|
92ac67d6a7
|
fix the bits we are setting and checking in IEC turn around to listen.
|
2019-05-04 11:22:02 +09:30 |
|
Paul Gardner-Stephen
|
e5cdf77d50
|
more work towards IEC bus support: Work on LOAD routine and the necessary IEC functions for it.
|
2019-05-03 21:30:32 +09:30 |
|
Paul Gardner-Stephen
|
148a285633
|
correctly detect device not present
|
2019-05-02 21:55:11 +09:30 |
|
Paul Gardner-Stephen
|
dcebe17e51
|
fix inverted sense of DATA line when writing bytes. We can now get a device to respond to an ATN byte.
|
2019-05-01 23:02:29 +09:30 |
|
Paul Gardner-Stephen
|
e67eb37937
|
remove redundant IEC port write during TX setup
|
2019-05-01 22:45:18 +09:30 |
|
Paul Gardner-Stephen
|
86a579e91c
|
don't corrupt Y register in iec_wait60ns
|
2019-05-01 22:45:02 +09:30 |
|
Paul Gardner-Stephen
|
568bbb1cb2
|
fix iec_release_clk to release correct bit
|
2019-05-01 22:44:29 +09:30 |
|
Paul Gardner-Stephen
|
3a8200d66d
|
IEC serial bytes have 8 bits, not 9. Fix logic to count 8 bits on TX
|
2019-05-01 22:16:33 +09:30 |
|
Paul Gardner-Stephen
|
7caae74955
|
move debug code for testing IEC bus
|
2019-05-01 22:12:33 +09:30 |
|
Paul Gardner-Stephen
|
9f0880ed7e
|
fix sense of DATA line reading.
|
2019-05-01 22:11:17 +09:30 |
|
Paul Gardner-Stephen
|
38b35d05ad
|
fix asserting ATN line.
|
2019-05-01 22:10:57 +09:30 |
|
Paul Gardner-Stephen
|
af7e93476c
|
setup DDR for IEC serial bus
|
2019-05-01 21:52:22 +09:30 |
|
Paul Gardner-Stephen
|
687ed9c56a
|
more work towards IEC bus. Also don't corrupt $DD00 VIC-II bank bits in the process.
|
2019-05-01 21:47:00 +09:30 |
|
Paul Gardner-Stephen
|
16dcfbe22b
|
begin implementing IEC serial protocol.
|
2019-05-01 21:40:32 +09:30 |
|
Paul Gardner-Stephen
|
27b33c2b26
|
use more space efficient calling convention for calling errors
|
2019-05-01 07:37:52 +09:30 |
|
Paul Gardner-Stephen
|
b45e7aab65
|
RUN does implicit CLR
|
2019-04-29 23:23:30 +09:30 |
|
Paul Gardner-Stephen
|
f439cb0a83
|
correctly detect end of program
|
2019-04-29 23:21:46 +09:30 |
|
Paul Gardner-Stephen
|
dec1ce257d
|
simplify BASIC execution logic
|
2019-04-29 23:10:10 +09:30 |
|
Paul Gardner-Stephen
|
8ecd10d5cd
|
implement SYS command.
|
2019-04-29 23:02:22 +09:30 |
|
Paul Gardner-Stephen
|
0d891bb06a
|
consume white space when checking for end of statement
|
2019-04-29 22:41:51 +09:30 |
|
Paul Gardner-Stephen
|
6df769320a
|
parse line number argument in RUN statement
|
2019-04-29 22:40:24 +09:30 |
|
Paul Gardner-Stephen
|
65af677caa
|
factor out basic line number parsing routine
|
2019-04-29 22:36:25 +09:30 |
|
Paul Gardner-Stephen
|
270314640c
|
refactor end of statement check.
|
2019-04-29 22:27:58 +09:30 |
|
Paul Gardner-Stephen
|
3bdfa8f834
|
make injest_number work from current basic statement pointer
|
2019-04-29 22:25:03 +09:30 |
|
Paul Gardner-Stephen
|
7c960fd6b4
|
implement RUN command. Show line number in errors when in program mode.
|
2019-04-29 22:20:02 +09:30 |
|
Paul Gardner-Stephen
|
995dc52967
|
work towards being able to run programs
|
2019-04-29 22:16:00 +09:30 |
|
Paul Gardner-Stephen
|
b15ddafa6a
|
allow multiple statements on single line. Issue #14
|
2019-04-29 22:05:27 +09:30 |
|
Paul Gardner-Stephen
|
3a58c781c7
|
carriage return clears quote and insert modes
|
2019-04-29 22:05:12 +09:30 |
|
Paul Gardner-Stephen
|
b44869c87b
|
fix handling of Vendor key combo parsing when screen scraping keyboard input
|
2019-04-29 21:53:06 +09:30 |
|
Paul Gardner-Stephen
|
38c3f158d2
|
Fix display of shift+key combos in REM and quote strings. Issue #11
|
2019-04-29 21:44:29 +09:30 |
|
Paul Gardner-Stephen
|
b5ab7ba10c
|
fix CHROUT handling of most character codes
|
2019-04-29 21:36:56 +09:30 |
|
Paul Gardner-Stephen
|
8ffe1b61da
|
fix display of quoted control codes. Issue #11
|
2019-04-29 21:25:23 +09:30 |
|
Paul Gardner-Stephen
|
366ee483cb
|
Simplify and improve control code detection
|
2019-04-29 21:19:04 +09:30 |
|
Paul Gardner-Stephen
|
2b9f1cc2ee
|
Fix Issue #17
|
2019-04-29 21:12:01 +09:30 |
|
Paul Gardner-Stephen
|
67ac641741
|
make LIST command honour REM and quotes.
|
2019-04-29 21:08:53 +09:30 |
|
Paul Gardner-Stephen
|
bc5e3cdbb9
|
Fix Issue #15
|
2019-04-29 21:00:00 +09:30 |
|
Paul Gardner-Stephen
|
71567e39ac
|
LIST now largely works.
|
2019-04-28 22:48:03 +09:30 |
|
Paul Gardner-Stephen
|
8c84566e53
|
begin implementing LIST command printing of line bodies
|
2019-04-28 22:37:11 +09:30 |
|
Paul Gardner-Stephen
|
c7db426bd3
|
begin implementing LIST command
|
2019-04-28 22:30:49 +09:30 |
|
Paul Gardner-Stephen
|
6a0b2d8e7f
|
implement beginnings of BASIC main loop execution
|
2019-04-28 22:10:32 +09:30 |
|
Paul Gardner-Stephen
|
06a227696e
|
begin implementing BASIC command loop
|
2019-04-28 21:59:02 +09:30 |
|
Paul Gardner-Stephen
|
30e900e2cf
|
implement syntax error as default behaviour
|
2019-04-28 21:51:44 +09:30 |
|
Paul Gardner-Stephen
|
249266232c
|
begin implementing framework for interpreting BASIC statements.
|
2019-04-28 21:50:52 +09:30 |
|
Paul Gardner-Stephen
|
3ab4f385ac
|
fix printing of integers and BASIC free bytes on startup
|
2019-04-28 21:36:33 +09:30 |
|
Paul Gardner-Stephen
|
0c05cd335f
|
fix inverted sense of cartridge detect in free RAM calculation
|
2019-04-28 21:27:31 +09:30 |
|
Paul Gardner-Stephen
|
9ac00426f3
|
display correct # of basic bytes free on startup
|
2019-04-28 21:26:33 +09:30 |
|
Paul Gardner-Stephen
|
2193cf9520
|
fix integer printing routine
|
2019-04-28 21:21:53 +09:30 |
|
Paul Gardner-Stephen
|
c1a85217a0
|
work towards printing integers
|
2019-04-28 21:19:41 +09:30 |
|
Paul Gardner-Stephen
|
e0bd266f6e
|
don't print READY after entering, modifying or deleting a line of BASIC
|
2019-04-28 20:51:54 +09:30 |
|
Paul Gardner-Stephen
|
4a4e6ddbb9
|
fix Issue #13
|
2019-04-28 20:48:46 +09:30 |
|
Paul Gardner-Stephen
|
f43fedea21
|
remove more debug output
|
2019-04-28 20:44:05 +09:30 |
|
Paul Gardner-Stephen
|
ced0eeb319
|
disable debug output in basic line inserting, deleting and replacing
|
2019-04-28 20:41:38 +09:30 |
|
Paul Gardner-Stephen
|
ff10535447
|
fix deleting line bugs
|
2019-04-28 20:39:15 +09:30 |
|
Paul Gardner-Stephen
|
696c908483
|
fix bugs in calculation of memory range to copy down.
|
2019-04-28 20:33:07 +09:30 |
|
Paul Gardner-Stephen
|
906fe108b3
|
work towards being able to delete BASIC lines
|
2019-04-28 20:27:19 +09:30 |
|
Paul Gardner-Stephen
|
490dda059f
|
expand documentation of line replacement
|
2019-04-28 20:06:26 +09:30 |
|
Paul Gardner-Stephen
|
9d83d95a6c
|
don't re-insert an empty line if deleting a line
|
2019-04-28 19:58:45 +09:30 |
|
Paul Gardner-Stephen
|
5031764214
|
Fix issue #12
|
2019-04-28 17:01:17 +09:30 |
|