TSConf ZEsarUX emulation

Эмуляторы, поддерживающие TS-Conf

Postby chernandezba » Fri, 28.07.2017 09:30:38

TS-Labs wrote:Well... May be I could help with writing some unit tests?
What I can offer are small code examples which demonstrate certain single features.


Thanks! But I don't want to bother you too much ;)
I did tried examples at
https://github.com/tslabs/zx-evo/tree/m ... s/examples

But I could only try the first one, it wrote some text using TSConf text mode, which I already had it working. Other examples involved programmable line interrupt (which I don't emulate yet) and setting 16c/256c mode and writing random pixels (and I preferred to test these modes using some non-random display)

Bomber demo wasn't working initially because I didn't paged well C000H and 0000h (ram in rom) segments. I am now forcing paging to TSConf paging mode (registers 10H-13H) and I'm not paging using typical 7ffdh port from 128k. I still don't understand when it's using TSConf paging mode or when to use 7ffdh. I do know you sent me information about it, I thought I understood, I emulated these paging modes but... it didn't work :bang:
So meanwhile I'm only doing TSConf paging mode, I have to re-read all the info you sent me and I will rewrite my code to follow all the paging modes... it's only a matter of time XD

One question I don't know since I started emulating TSConf... It supports up to 32 pages of rom (512kb) but the rom I'm using is only 64KB. So, is there any rom for TSConf larger than 64kb?

Thanks!
:beer:

Cheers
Cesar
chernandezba
 
Posts: 32
Joined: Wed, 28.06.2017 17:50:12

Postby TS-Labs » Fri, 28.07.2017 11:31:27

chernandezba wrote: I still don't understand when it's using TSConf paging mode or when to use 7ffdh.

Both paging approaches can work simultaneously, or you can think of them as of aliases.
As far as I know, all tsconf software only uses native paging registers.

chernandezba wrote:So, is there any rom for TSConf larger than 64kb?

Absolutely not. The tons of other crap belong to Baseconf.
User avatar
TS-Labs
 
Posts: 4702
Joined: Thu, 26.07.2012 01:29:56

Postby chernandezba » Tue, 08.08.2017 13:01:52

Thanks!
How many scanlines does the tsconf have? 312? 624?
By the way, this forum seems to have been infected by a virus: going to index-emulators and clicking on page number 3 of this thread redirects me to a gambling web page :(
chernandezba
 
Posts: 32
Joined: Wed, 28.06.2017 17:50:12

Postby TS-Labs » Wed, 09.08.2017 10:41:37

320.

We are working on that fucking virus elemination...
User avatar
TS-Labs
 
Posts: 4702
Joined: Thu, 26.07.2012 01:29:56

Postby chernandezba » Thu, 17.08.2017 10:00:03

Thanks.
Working last days on improving video display: now all video modes are drawn per scanline.
I managed also to test some demos from trd files, using trd emulation on esxdos. I've tested some text mode demos (and games) and they look great :)
Also many games using 16c and 256c video modes are not drawn well, I'm not sure if it's some bug on the .spg loading routine or they fail to some paging/video mode bug...

I'll keep you updated :)
Cheers
Cesar
chernandezba
 
Posts: 32
Joined: Wed, 28.06.2017 17:50:12

Postby chernandezba » Fri, 18.08.2017 12:51:09

Hi
Testing yesterday colour palette; I have implemented the 15-bit palette so games and demos look better :)
Some questions:

-15-bit palette is used in modes zx, 16c and 256c. But seems it is not used on text mode, is it right? I use for text mode the same speccy 16 colours
-Palette selection (register 7) is used for modes zx and 16c, but not for 256c nor text modes. Right? I suppose only the lower 4 bits of this register is used, higher bits seems to be used for sprites or tiles
-Accessing the colour palette ram (cram) can only be used with fmaps. I map it when you set register 15H with a value with bits 4-7 different from 0000. I map it write only, so you can't read it, is it right?

Thanks
chernandezba
 
Posts: 32
Joined: Wed, 28.06.2017 17:50:12

Postby TS-Labs » Fri, 18.08.2017 20:01:09

chernandezba wrote:But seems it is not used on text mode

It is used. The same as in ZX mode.
chernandezba wrote:-Palette selection (register 7) is used for modes zx and 16c, but not for 256c

Yes.
chernandezba wrote:Accessing the colour palette ram (cram) can only be used with fmaps.

Or via DMA.
chernandezba wrote: I map it when you set register 15H with a value with bits 4-7 different from 0000

Bit 4 is ENABLE bit, bits 5..7 can be any, but preferably 0, because I said so =).
chernandezba wrote: I map it write only, so you can't read it, is it right?

Yes. But writes are sent to two destinations simultaneously: to FPGA internal SRAM (which you can't read back) and to RAM which is at addresses where you map FMAPS and you can read back them (as a copy).
User avatar
TS-Labs
 
Posts: 4702
Joined: Thu, 26.07.2012 01:29:56

Previous

Return to Emulators

Who is online

Users browsing this forum: No registered users and 1 guest

cron

x