|
Post by bjonte on Feb 8, 2021 21:16:31 GMT
// put address in zero page location lda #<array_addr sta $fb lda #>array_addr sta $fc
// write to array ldy #0 // <- element index here lda #64 // <- what to write here sta ($fb),y
// read from array ldy #0 // <- element index here lda ($fb),y // a now has the value at index
|
|
|
Post by bjonte on Feb 2, 2021 11:35:37 GMT
Interesting stuff! I didn’t know about the reset details.
I’m not surprised that VICE don’t handle the reset state correctly. It is driven by failing examples and since there’s really no point in reading unused stack locations after a reset that will never break anything but faulty programs. The interrupt flag is also reset of course.
However, if you have access to a 1541U2 or Easyflash you could make some custom ROM images that shows the correct behavior on real hardware and fails in VICE. You can perhaps get by with a cartridge image also, depending on what the ROM does before the cartridge code is executed.
|
|
|
Post by bjonte on Feb 2, 2021 6:09:30 GMT
Nice story! Nice idea with the modem dial-up!
|
|
|
Post by bjonte on Feb 1, 2021 11:11:54 GMT
Other than VDC: request on the REU. Using Z64K I find that an attempt to do DMA to/from REU, is using the CPU bank. However, real hardware is using the VICbank D506 value (bits 7 and 6) to select the DMA-target. This is used in Volley For Two, so the replays will be broken when REU is activated in emulation.
|
|
|
Post by bjonte on Jan 28, 2021 11:27:56 GMT
Since the files are just linked blocks you can make as many links you want. So as long as the file fits on the storage medium, it can be read without problems. The is no file length limit apart from the directory listing that will be incorrect if the file exceeds 65535 blocks.
|
|
|
Post by bjonte on Jan 23, 2021 11:52:42 GMT
well its 16K no 64K. if you have 64K might as well just go for Multicolour mode. Mmm, true.
|
|
|
Post by bjonte on Jan 23, 2021 10:54:44 GMT
Ah, I see. Several pixels per character and only two real colors, but with dithering patterns. However, it gets expensive with masking but if 64 kB is required it could be pretty useful.
|
|
|
Post by bjonte on Jan 22, 2021 17:25:12 GMT
What differs from the 160*100 multicolor mode?
|
|
|
Post by bjonte on Jan 11, 2021 15:00:41 GMT
Is it something special for the line above the 56th? No, lines are just lines. What do you mean would be special?
|
|
|
Post by bjonte on Jan 10, 2021 16:13:07 GMT
It goes down one line per screen refresh. So moving 200 lines would take 4 seconds on a PAL machine for example.
|
|