Search found 395 matches

by Bill B
10 Sep 2022 21:48
Forum: PROGRAMMING
Topic: MTXLib
Replies: 6
Views: 8402

Re: MTXLib

Steve, Thanks for the feedback. I must admit I never found the time to go back and look at my Windows installation. With regard to hosting on GitHub, my theory was that when I got bug reports it would be easier for me to just push updates to a repository, rather than having to create a new zip file ...
by Bill B
05 Sep 2022 16:23
Forum: MFX
Topic: MFX mass-storage add-on - Storage Enhancement Request
Replies: 13
Views: 51164

MFX mass-storage add-on - Storage Enhancement Request

The only thing which probably needs addressing is the storage. Being limited to the original SD card specification is a headache as hardly any small SD cards exist. Also having it as raw storage limits things. Maybe a future upgrade could be to encapsulate the drive image into a file on a FAT files...
by Bill B
29 Aug 2022 15:34
Forum: GENERAL DISCUSSIONS
Topic: Questions about the Memotech MTX that you were too afraid to ask...
Replies: 42
Views: 37585

Re: Questions about the Memotech MTX that you were too afraid to ask...

And when doing the address decode on a microprocessor where each comparison requires a couple of instructions (a test and a jump) the additional time needed for the odd addresses is a pain. I certainly cursed the decision while writing the Propeller code for the CFX-II.

Anyway, it is inelegant :)
by Bill B
26 Aug 2022 15:45
Forum: GENERAL DISCUSSIONS
Topic: Questions about the Memotech MTX that you were too afraid to ask...
Replies: 42
Views: 37585

Re: Questions about the Memotech MTX that you were too afraid to ask...

I suppose the VDP addressing only really becomes a pain when you try and make video add-ons. Whether working in hardware, on a FPGA or a microprocessor you often need a signal to say this is a VDP address. If the VDP was on addresses 0x02 and 0x03 then this signal would be: VDP = A1 & /A2 & ...
by Bill B
26 Aug 2022 09:56
Forum: GENERAL DISCUSSIONS
Topic: Questions about the Memotech MTX that you were too afraid to ask...
Replies: 42
Views: 37585

Re: Questions about the Memotech MTX that you were too afraid to ask...

Why did Memotech have to put the VDP on Z80 ports 0x01 and 0x02? It makes decoding VDP addressing more difficult. It would be easier if the VDP was either on 0x00 & 0x01 or on 0x02 & 0x03. In general it is easiest if common functionalities have the same high bits in the port address and all ...
by Bill B
24 Aug 2022 08:54
Forum: PROGRAMMING
Topic: MTXLib
Replies: 6
Views: 8402

Re: MTXLib

Steve, Thanks for the feedback. Spaces in a path name are a pain, need to make sure there are double quotes in all the right places. I will have to check where I installed SDCC on my Windows 10 PC. Like you I normally avoid C, however since I was trying to make everything easy to use I probably acce...
by Bill B
17 Aug 2022 08:22
Forum: PROGRAMMING
Topic: Reading/Writing files in CP/M
Replies: 2
Views: 2520

Re: Reading/Writing files in CP/M

Does the attached help?
by Bill B
01 Aug 2022 08:52
Forum: PROGRAMMING
Topic: Interrupts in com files
Replies: 5
Views: 3231

Re: Interrupts in com files

The CTC (like most Z80 peripherals) is really only designed to work with mode 2 interrupts. Something like: ctc0 equ 0x08 cfgctc: di im 2 ld a, #0xC5 out (ctc0), a ; Counter mode, interrupt, time constant follows. ld a, #1 out (ctc0), a ; Interrupt on every VDP pulse ld hl, #ijtbl ld a, l out (ctc0)...
by Bill B
31 Jul 2022 08:35
Forum: PROGRAMMING
Topic: Interrupts in com files
Replies: 5
Views: 3231

Re: Interrupts in com files

Interrupts from VDP or CTC? Have you set the interrupt enable bit on the VDP if that is what you are using? Have you configured the CTC to generate an interrupt, either on a pulse from the VDP, or on a time elapsed? Which interrupt mode is the Z80 in? What is the I register set to? What interrupt ve...
by Bill B
23 Jul 2022 21:29
Forum: PROGRAMMING
Topic: Latest on C dev for the MTX SDCC etc,
Replies: 31
Views: 19690

Re: Latest on C dev for the MTX SDCC etc,

I have started a new thread with the latest version.