Something for Moggy... ( and probably lots of others )

Discussions about Sinclair ZX80 and ZX81 Hardware
User avatar
PokeMon
Posts: 2225
Joined: Sat Sep 17, 2011 6:48 pm

Re: Something for Moggy... ( and probably lots of others )

Post by PokeMon » Tue Jul 11, 2017 7:23 pm

Great idea ! 8-)

User avatar
mrtinb
Posts: 950
Joined: Fri Nov 06, 2015 5:44 pm
Location: Denmark
Contact:

Re: Something for Moggy... ( and probably lots of others )

Post by mrtinb » Wed Jul 12, 2017 3:42 pm

That's great work Andy!

The ZxBlast also have WRX-enabled RAM. Have you tried it on ZxBlast?
Martin
ZX81, Lambda 8300, Commodore 64, Mac G4 Cube

User avatar
Andy Rea
Posts: 1530
Joined: Fri May 09, 2008 2:48 pm
Location: notts UK

Re: Something for Moggy... ( and probably lots of others )

Post by Andy Rea » Wed Jul 12, 2017 4:21 pm

I can't say for certain as i don't own a zxblast, however if i tell you ( or more accurately Pokemon ) that all signals are thru except A0 - A9 and only then the address line are altered during refresh only. Then maybe Pokemon could say if it likely to work.

Regards andy
6 x ZX81, 1 x TS1500 , 1 x +3e, 1 x timex 2040 printer, 1 x timex 2020 cassette deck, siclair printer and some spectrum

User avatar
PokeMon
Posts: 2225
Joined: Sat Sep 17, 2011 6:48 pm

Re: Something for Moggy... ( and probably lots of others )

Post by PokeMon » Wed Jul 12, 2017 9:29 pm

Well all address lines are through and data lines as well. RAMCS is switched off (internal RAM) and ROMCS is partly switched off. During refresh it depends on the address in the I register if RAM or ROM is selected (but ROM not mirrored to $8000-$BFFF). I think it should work this way.

User avatar
Andy Rea
Posts: 1530
Joined: Fri May 09, 2008 2:48 pm
Location: notts UK

Re: Something for Moggy... ( and probably lots of others )

Post by Andy Rea » Wed Jul 12, 2017 11:00 pm

mrtinb wrote:
Wed Jul 12, 2017 3:42 pm
That's great work Andy!

The ZxBlast also have WRX-enabled RAM. Have you tried it on ZxBlast?
after what Karl has just said i'd be willing to place a bet that it would work with ZX-Blast, of course the proof is in the pudding as they say...

Regards Andy
6 x ZX81, 1 x TS1500 , 1 x +3e, 1 x timex 2040 printer, 1 x timex 2020 cassette deck, siclair printer and some spectrum

User avatar
mrtinb
Posts: 950
Joined: Fri Nov 06, 2015 5:44 pm
Location: Denmark
Contact:

Re: Something for Moggy... ( and probably lots of others )

Post by mrtinb » Mon Aug 21, 2017 10:50 pm

I received the 'UDG 4 Expand' for testing today.

It works... for a while.

It works up to several minutes before crashing.

After crashing ZxBlast is configured for ROM in area 8K-16K.

Then I can change ZxBlast back to RAM in area 8K-16K.

Then I can load the game again, and play a while until it crashes, and when I look at the configuration for ZxBlast it has switched to ROM in area 8K-16K.

I don't know whether it is the game or ZxBlast or 'UDG 4 Zxpand' that changes the configuration from RAM to ROM i area 8K-16K. I know it is not me.

The UDG games I tried are the games ACE Mines, Sokoban and Sodoku from Toddy Forth 1.0

I see the games also supports ZonX sound. Maybe I can try tomorrow with a game without sound support. Maybe the ZonX code conflicts with ZxBlast.
Martin
ZX81, Lambda 8300, Commodore 64, Mac G4 Cube

User avatar
Andy Rea
Posts: 1530
Joined: Fri May 09, 2008 2:48 pm
Location: notts UK

Re: Something for Moggy... ( and probably lots of others )

Post by Andy Rea » Tue Aug 22, 2017 9:17 pm

Thank you Martin for your feedback, the crashing is very unexpected.

could you try loading the dkchr.rom ( can be found in the roms folder of eightyone. ) at memory address 8192 and then run the following program with the link on the 64 char position

10 RAND USR 11909
20 FOR T = 0 TO 63
30 PRINT CHR$(T);
40 NEXT T
50 PRINT
60 FOR T= 128 TO 191
70 PRINT CHR$(T);
80 NEXT T
90 GOTO 90

you should get 4 lines of characters top 2 lines normal chars bottom 2 inverted repeats of the first 2 lines, the characters should be pac-man some lines, playing card symbols, some squiggles, numbers and various space invader characters. the program then just loops for ever...

i find the random crashes a little odd since the board only presents altered address lines during the refresh so should have zero impact on program execution, if it wasn't working correctly the only symptoms i would expect would be garbled display when incorrect character pattern data is fetched.

regards Andy
6 x ZX81, 1 x TS1500 , 1 x +3e, 1 x timex 2040 printer, 1 x timex 2020 cassette deck, siclair printer and some spectrum

User avatar
mrtinb
Posts: 950
Joined: Fri Nov 06, 2015 5:44 pm
Location: Denmark
Contact:

Re: Something for Moggy... ( and probably lots of others )

Post by mrtinb » Tue Aug 22, 2017 9:35 pm

I have played Panic HR and ZX Galaxians HR from the Toddy Forth site. These use UDG or CHR$128, and the didn't crash, and worked fine. They didn't use ZonX sound.

I have a feeling ZonX code and ZxBlast are not best friends.

I have just packed it all away. I'll try dkchr.rom another evening.
Martin
ZX81, Lambda 8300, Commodore 64, Mac G4 Cube

Moggy
Posts: 1774
Joined: Wed Jun 18, 2008 2:00 pm

Re: Something for Moggy... ( and probably lots of others )

Post by Moggy » Tue Aug 22, 2017 9:48 pm

I can confirm that the DK 'Tronics ROM image works OK with the Xpand having created some short programs with it and that all of Kmurtas UDG software works wonderfully well with the UDG board, his poker program is superb and I've translated it from Portuguese to English which until the boards are available can be run in Eighty One with the DK 'Tronics ROM selected in the hardware menu


EDIT.

A bit late in the day I know but the two of you who downloaded this please delete line 1106. a STOP line I left in whilst messing with the program, corrected version now posted.
Attachments
udgpoker.p
(13.72 KiB) Downloaded 56 times
Last edited by Moggy on Wed Aug 23, 2017 9:57 pm, edited 3 times in total.

User avatar
Andy Rea
Posts: 1530
Joined: Fri May 09, 2008 2:48 pm
Location: notts UK

Re: Something for Moggy... ( and probably lots of others )

Post by Andy Rea » Tue Aug 22, 2017 10:04 pm

mrtinb wrote:
Tue Aug 22, 2017 9:35 pm
I have played Panic HR and ZX Galaxians HR from the Toddy Forth site. These use UDG or CHR$128, and the didn't crash, and worked fine. They didn't use ZonX sound.

I have a feeling ZonX code and ZxBlast are not best friends.

I have just packed it all away. I'll try dkchr.rom another evening.
ah Thank you Martin, i am a little more relieved now

regards Andy
6 x ZX81, 1 x TS1500 , 1 x +3e, 1 x timex 2040 printer, 1 x timex 2020 cassette deck, siclair printer and some spectrum

Post Reply