Search found 449 matches

by hlide
Sun Jul 12, 2020 10:23 am
Forum: Demoscene
Topic: MZ-700 demos
Replies: 76
Views: 14814

Re: MZ-700 demos

So the emulator considers there are 228 cycles per line, it wants for a line to start with BLNK=0 until N cycles then to toggle it to BLNK=1 (then the CPU should be able to access VRAM). As a note, my logic analyzer tells me the line starts with BLNK=1 then toggle it to BLNK=0 after 81 cycles. I had...
by hlide
Sat Jul 11, 2020 6:02 pm
Forum: Demoscene
Topic: MZ-700 demos
Replies: 76
Views: 14814

Re: MZ-700 demos

There is a serious issue with multiple images insertions on this forum when updating a post.
by hlide
Sat Jul 11, 2020 6:00 pm
Forum: Demoscene
Topic: MZ-700 demos
Replies: 76
Views: 14814

Re: MZ-700 demos

Inverting the /HBLK and BLNK signals in the vertical line event is making things complicated so I just add BLNK signal with its shortest period: it does solve the 112 issue I had with PAL EmuZ-700. But I still get around 13s instead of 16s. What I had beforehand: 2020-06-01_20-40-28.png What I had i...
by hlide
Sat Jul 11, 2020 3:28 pm
Forum: Demoscene
Topic: MZ-700 demos
Replies: 76
Views: 14814

Re: MZ-700 demos

Thanks! I have a big difficulty with the big messy hack the EmuZ-700 uses to block CPU access to VRAM. On a real CPU, the /WAIT state will make the CPU wait until BLANK is active. On EmuZ-700, it seems to use the /BUSRQ signal but in a way too hackish that is pretty hard to inverse /HBLNK and BLNK a...
by hlide
Sat Jul 11, 2020 12:33 pm
Forum: Demoscene
Topic: MZ-700 demos
Replies: 76
Views: 14814

Re: MZ-700 demos

@Sdw So I install my LA1010 to get the extact timings of my stock PAL MZ-700: BLNK : (1) 22.6µs , (0) 41.4/41.5µs -> TOTAL=64/64.1µs /HBLK : (1) 36/36.1µs, (0) 28µs -> TOTAL=64/64.1µs /HSY : (1) 59.5µs , (0) 4.6/4.5µs -> TOTAL=64/64.1µs /VBLK : (1) 12.8149ms, (0) 7.1764ms -> TOTAL=19.9913/19.9913ms ...
by hlide
Sat Jul 11, 2020 12:53 am
Forum: Demoscene
Topic: MZ-700 demos
Replies: 76
Views: 14814

Re: MZ-700 demos

Video timings of mz800emu is the closest to stock mz700. EmuZ-700 PAL uses the same video timings than EmuZ-800. Look at https://forum.sharpmz.org/viewtopic.php?f=8&t=407&start=10#p1672 for my vsync checker which tries to count the BLNK count in a frame: mz800emu appears more consistant. I certainly...
by hlide
Mon Jul 06, 2020 7:29 pm
Forum: Other
Topic: MZ 700 - detect PAL/NTSC
Replies: 18
Views: 4655

Re: MZ 700 - detect PAL/NTSC

I now try to count VTOTAL and VBLANK to check if VDISPLAY (= VTOTAL-VBLANK) equals to 200. Note that the usual values are: Pixel PAL NTSC VDISP 200 200 VBLANK 112 62 VTOTAL 312 262 It seems BLANK is only output when sync is normal (not long or short) so our VTOTAL and VBLANK are missing the lines wh...
by hlide
Sun Jul 05, 2020 9:11 pm
Forum: Other
Topic: MZ 700 - detect PAL/NTSC
Replies: 18
Views: 4655

Re: MZ 700 - detect PAL/NTSC

I'm starting thinking that 306 may be the part when /HSYNC is normal and we really got BLANK.

If you look at that picture:
pal_tv_diagram_non_interlace.jpg
pal_tv_diagram_non_interlace.jpg (38.28 KiB) Viewed 515 times
You can see some lines where /SYNC has different values (three here). From the service manual, /HSY is around 4 µS when we get /HBLK and BLNK.
by hlide
Sun Jul 05, 2020 7:53 pm
Forum: Other
Topic: MZ 700 - detect PAL/NTSC
Replies: 18
Views: 4655

Re: MZ 700 - detect PAL/NTSC

It looks as if the way to set/read the two bytes of the counter #2 is giving trouble. So I decided for the timer #2 to count 2 BLNK instead of 1 so I can keep the counter in a byte. I got 306 for mz800emu and 308 for EmuZ-700 PAL. And... I got 306 on my stock MZ-700. Now where did my missing 4-6 lin...
by hlide
Sun Jul 05, 2020 7:19 pm
Forum: Other
Topic: MZ 700 - detect PAL/NTSC
Replies: 18
Views: 4655

Re: MZ 700 - detect PAL/NTSC

And on a stock MZ-700, I have the same result as mz800emu... Gosh!