Search found 681 matches

by pgimeno
Mon Nov 07, 2022 9:14 pm
Forum: ZX Spectrum, ZX81, SAM Coupé, TSConf, QL, Next
Topic: ZX Spectrum Recreated Would Work as Bluetooth Keyboard With MiSTer?
Replies: 130
Views: 80834

Re: ZX Spectrum Recreated Would Work as Bluetooth Keyboard With MiSTer?

Clutters the code? The Recreated code is clearly delimited, it doesn't cause any confusion with non-Recreated code. Part of what was done is a cleanup of the somewhat fishy pre-existing keyboard code. It actually reduces clutter. The ghosting commit was not kept separate in the PR from the Recreated support commit. That may have caused some confusi...
by pgimeno
Wed Nov 02, 2022 9:19 pm
Forum: ZX Spectrum, ZX81, SAM Coupé, TSConf, QL, Next
Topic: ZX Spectrum Recreated Would Work as Bluetooth Keyboard With MiSTer?
Replies: 130
Views: 80834

Re: ZX Spectrum Recreated Would Work as Bluetooth Keyboard With MiSTer?

Here it is (the regular core, not the composite one) with the latest framework changes and the rebased patch. Not sure what's new, but apparently the VGA_DISABLE thing was part of that update.
by pgimeno
Wed Nov 02, 2022 8:11 pm
Forum: ZX Spectrum, ZX81, SAM Coupé, TSConf, QL, Next
Topic: ZX Spectrum Recreated Would Work as Bluetooth Keyboard With MiSTer?
Replies: 130
Views: 80834

Re: ZX Spectrum Recreated Would Work as Bluetooth Keyboard With MiSTer?

AmintaMister wrote: Tue Nov 01, 2022 12:27 pm If you want, I can propose the patch via GitHub pull request with my Gituhb account, let me know!
If you have git skills, sure. I've uploaded the patch to https://codeberg.org/pgimeno/ZX-Spectru ... created-zx to make it simpler.

It seems I missed another sys update. I'll recompile with it ASAP.
by pgimeno
Wed Nov 02, 2022 7:36 pm
Forum: ZX Spectrum, ZX81, SAM Coupé, TSConf, QL, Next
Topic: ZX Spectrum Recreated Would Work as Bluetooth Keyboard With MiSTer?
Replies: 130
Views: 80834

Re: ZX Spectrum Recreated Would Work as Bluetooth Keyboard With MiSTer?

Same thing but with the VGA_DISABLE line set to 0. Please give it a try as well. If this doesn't work then I'll give up for now because I have no idea how to compile the files. You may be luckier by submitting my patch to that repo and asking the author if it can be included as part of the Spectrum build.
by pgimeno
Tue Nov 01, 2022 2:28 pm
Forum: Other Computer / System Cores
Topic: New MSX Core In The Works
Replies: 107
Views: 57652

Re: New MSX Core In The Works

- The per-frame cycle count is 71136 instead of the expected 71364 in most PAL machines. That corresponds to 312x228 (lines x cycles per line) instead of the 313x228 it should be. Hopefully this will be an easy fix. I looked at VDP interupt. The number of cycles can probably be adjusted relatively well. Looks like there's a missing one line in the...
by pgimeno
Tue Nov 01, 2022 12:20 pm
Forum: ZX Spectrum, ZX81, SAM Coupé, TSConf, QL, Next
Topic: ZX Spectrum Recreated Would Work as Bluetooth Keyboard With MiSTer?
Replies: 130
Views: 80834

Re: ZX Spectrum Recreated Would Work as Bluetooth Keyboard With MiSTer?

Hi @pgimeno, I've found a ZX Spectrum Recreated Keyboard at last and it work beautifully with your patch. One question: can you also update the latest versione of the MikeS1 core (https://github.com/MikeS11/MiSTerFPGA_YC_Encoder)? Because to use the Zx Spectrum both in composite and with the rubber keyboard would be a dream! Glad you're enjoying i...
by pgimeno
Sat Oct 29, 2022 8:49 pm
Forum: IBM PC, PCXT, Tandy 1000
Topic: Development of an XTIDE-Compatible IDE
Replies: 120
Views: 45958

Re: Development of an XTIDE-Compatible IDE

Given that Minimig comes from a different FPGA, I'd say that studying that implementation is a better idea than focusing on ao486's. My understanding is that in MiSTer, you have to communicate with the Linux side via the HPS_IO to read or write data from VHD image files. I still don't know how that works, but there are plenty of cores that do this ...
by pgimeno
Mon Oct 24, 2022 9:02 pm
Forum: ZX Spectrum, ZX81, SAM Coupé, TSConf, QL, Next
Topic: Could somebody post a beginners guide to the ZX Next Core
Replies: 23
Views: 23218

Re: Could somebody post a beginners guide to the ZX Next Core

Since the .vhd cannot be written, does that mean there is no way to, for instance, save BASIC programs, or save games that have save game features, unless I use a secondary SD? As for saving BASIC programs, check this thread: https://misterfpga.org/viewtopic.php?t=2645 I think the issue reported there persists. There's a fixed core for download in...
by pgimeno
Thu Oct 06, 2022 11:08 am
Forum: IBM PC, PCXT, Tandy 1000
Topic: FDD Support Based on ao486 Implementation
Replies: 93
Views: 26315

Re: FDD Support Based on ao486 Implementation

I suspect that the reason why the 601 error occurs at 14mhz is the timeout (CX=0) caused by the Loop instruction. That makes full sense. I expected issues of that kind with the frequency switch. It's the same reason some Turbo Pascal programs stopped working on faster machines: they had a loop that they didn't expect to ever finish but it overflow...
by pgimeno
Thu Oct 06, 2022 10:40 am
Forum: Arcade Cores
Topic: Sega Bank Panic Arcade Core Release
Replies: 14
Views: 2619

Re: Sega Bank Panic Arcade Core Release

Comparing two compilations will give different results for sure; the compilation involves random numbers for some tasks. Only if the random seed is the same, can you obtain two identical compilations. I don't even know how to get or set the seed, though. Spanish company Dinamic made a clone of this arcade for the ZX Spectrum (edit: and also for Com...
by pgimeno
Sun Oct 02, 2022 1:59 pm
Forum: Game Boy Advance
Topic: GBA2P core hangs MiSTer when there's a boot1.rom
Replies: 2
Views: 4543

Re: GBA2P core hangs MiSTer when there's a boot1.rom

Update: I misremembered, it wasn't the dummy ROM, it was the Dr. Mario + Puzzle League ROM the one I had as boot1.rom.

Also, in the GBA core boot1.rom is no longer loading at start for some reason. Was support dropped?
by pgimeno
Sun Oct 02, 2022 8:14 am
Forum: Arcade Cores
Topic: Should Arcade Cores Work With CRT?
Replies: 3
Views: 945

Re: Should Arcade Cores Work With CRT?

drpaneas wrote: Sun Oct 02, 2022 7:12 am 2. Why the directory name starts with an underscore (e.g. why `_Arcade` instead of just `Arcade`?)
Directory names starting with an underscore are visible in the menu; the rest don't show up. For example, _Arcade/cores and _Arcade/mame are not visible in the menu, but _Arcade/_alternatives is.
by pgimeno
Sat Oct 01, 2022 7:14 pm
Forum: Other Computer / System Cores
Topic: Transfer Files to MSX, e.g. Update Files on VHD?
Replies: 8
Views: 1598

Re: Transfer Files to MSX, e.g. Update Files on VHD?

What Bad Toro said will work, with some changes. First, forget about how to create the image, that's not important here. The mount command is what is important. The problem is that the offset for the mount command can be different depending on how the VHD file was partitioned to start with. To find out which offset, first run: fdisk -l /media/fat/g...
by pgimeno
Sat Oct 01, 2022 6:26 pm
Forum: Game Boy Advance
Topic: GBA2P core hangs MiSTer when there's a boot1.rom
Replies: 2
Views: 4543

GBA2P core hangs MiSTer when there's a boot1.rom

I have a boot0.rom and a boot1.rom in my games/GBA folder; boot1.rom is just an empty ROM intended for displaying the full logo including the word "Nintendo" under the main GAME BOY sign the Dr. Mario + Puzzle League game. I also have games/GBA2P as a symlink to games/GBA. With that setup, trying to boot the GBA2P core results in the MiST...
by pgimeno
Sat Oct 01, 2022 5:18 pm
Forum: Official Addon Boards
Topic: List of Cores with ADC (Tape Input) and RTC (Real Time Clock) Support
Replies: 69
Views: 67521

Re: List of Cores with ADC (Tape Input) and RTC (Real Time Clock) Support

I seem to remember that the Commodore datasette has an internal ADC and outputs (or receives) a digital signal from the user port. It is possible to connect it to the MiSTer user port (obviously an adapter would be needed) to read the digital signals and also control the motor? I think the appropriate thread is this one: https://misterfpga.org/vie...
by pgimeno
Mon Sep 26, 2022 10:34 pm
Forum: Other Computer / System Cores
Topic: Colour Genie (EG2000) Computer Core Released
Replies: 20
Views: 3719

Re: Colour Genie (EG2000) Computer Core Released

There's a TOSEC collection in archive.org; does it contain the same software as in MAME?
by pgimeno
Mon Sep 26, 2022 10:26 pm
Forum: Arcade Cores
Topic: Pac-Man Core
Replies: 28
Views: 5522

Re: Pac-Man Core

My question is whether the setting changes either. I would guess that there's an "emulated display" and a "real display" that are separate, and that the real display's vsync is not the one that generates the interrupt, but the emulated display's, which would run at the frequency of the emulated core regardless of the refresh fre...
by pgimeno
Sun Sep 25, 2022 1:38 pm
Forum: Arcade Cores
Topic: Pac-Man Core
Replies: 28
Views: 5522

Re: Pac-Man Core

That's one possibility. The other is that display lag is causing muscle memory to work differently to the case with no display lag. I was fascinated by this video that tests Battletoads in an emulator vs. a NES and a MiSTer:

https://www.youtube.com/watch?v=5ZTS04rVOn0
by pgimeno
Sun Sep 25, 2022 10:33 am
Forum: IBM PC, PCXT, Tandy 1000
Topic: 8088 CPU
Replies: 8
Views: 2037

Re: 8088 CPU

The chip has been decapped and analysed. https://forum.vcfed.org/index.php?threads/8088-8086-microcode-disassembly.77933/ The exact breakout of cycles used by the instruction is documented in the code and in the thread I posted: https://www.vogons.org/viewtopic.php?p=703589#p703589 - Non-AAD byte takes 8 cycles. - Negating takes 1 cycle(IMUL). - So...
by pgimeno
Sat Sep 24, 2022 11:19 pm
Forum: IBM PC, PCXT, Tandy 1000
Topic: 8088 CPU
Replies: 8
Views: 2037

Re: 8088 CPU

MicroCoreLabs wrote: Sat Sep 24, 2022 6:20 pmIt would be very hard to emulate this behavior exactly
The software emulators I linked above do exactly that, and fine details on the exact algorithm and the cycles taken by each step are provided.
by pgimeno
Sat Sep 24, 2022 2:25 pm
Forum: IBM PC, PCXT, Tandy 1000
Topic: 8088 CPU
Replies: 8
Views: 2037

8088 CPU

Does MCL86 have cycle-accurate MUL/DIV emulation? ISTR that MicroCoreLabs said it doesn't. I've found this thread discussing cycle-accurate versions of these instructions: https://www.vogons.org/viewtopic.php?t=62817 In particular this post: https://www.vogons.org/viewtopic.php?p=703576#p703576 The link in the post is obsolete, though, as it's not ...
by pgimeno
Sat Sep 24, 2022 1:32 pm
Forum: ZX Spectrum, ZX81, SAM Coupé, TSConf, QL, Next
Topic: ZX Spectrum Core - Save Games / States
Replies: 14
Views: 3478

Re: ZX Spectrum Core - Save Games / States

Here's a Linux script to split boot.rom into the files mentioned: dd if=boot.rom of=GLUK661.ROM bs=8192 count=2 dd if=boot.rom of=TRDOS-5.04T bs=8192 count=2 skip=2 dd if=boot.rom of=128p-0.rom bs=8192 count=2 skip=4 dd if=boot.rom of=128-1.rom bs=8192 count=2 skip=6 dd if=boot.rom of=plus3-41-0.rom bs=8192 count=2 skip=8 dd if=boot.rom of=plus3-41...
by pgimeno
Fri Sep 23, 2022 8:28 pm
Forum: IBM PC, PCXT, Tandy 1000
Topic: Interesting Tests We Could Run For x86
Replies: 25
Views: 3097

Re: Interesting Tests We Could Run For x86

Is the segment override bug now incorporated as a regression test? It's customary practice to add a test that fails before a bugfix and passes after it, every time a bug is squashed. That's where regression tests take their name, after all: if the bug returns, that's a regression and it will be immediately caught by the test. Some bugs have the bad...
by pgimeno
Fri Sep 23, 2022 3:17 pm
Forum: ZX Spectrum, ZX81, SAM Coupé, TSConf, QL, Next
Topic: ZX Spectrum Core - Save Games / States
Replies: 14
Views: 3478

Re: ZX Spectrum Core - Save Games / States

I've worked on reverse engineering the Spectrum core's boot.rom, and this is what I found. The file contains the following ROMs, concatenated: Offs. Len. File name 00000 4000 GLUK661.ROM 04000 4000 TRDOS-5.04T 08000 4000 128p-0.rom 0C000 4000 128-1.rom 10000 4000 plus3-41-0.rom 14000 4000 plus3-41-1.rom 18000 4000 plus3-41-2.rom 1C000 4000 plus3-41...
by pgimeno
Wed Sep 21, 2022 12:30 pm
Forum: General Discussions
Topic: Interesting article on the MOS 7600/7601 Pong System Chip
Replies: 2
Views: 629

Re: Interesting article on the MOS 7600/7601 Pong System Chip

Chris23235 wrote: Tue Sep 20, 2022 6:21 pm It's not MiSTer related in any way,
Well, it might become MiSTer-related in future :)
by pgimeno
Fri Sep 16, 2022 11:23 am
Forum: Arcade Cores
Topic: kchamp.mra needed please
Replies: 16
Views: 1563

Re: kchamp.mra needed please

The MRA is rarely named like the core. Are you sure the MRA name is kchamp.mra or jtkchamp.mra?
by pgimeno
Fri Sep 09, 2022 8:51 pm
Forum: General Discussions
Topic: Next Generation FPGA Hardware's Potential for Existing MiSTer Cores?
Replies: 27
Views: 6293

Re: Next Generation FPGA Hardware's Potential for Existing MiSTer Cores?

Not sure if that would be possible with a better CPU in the SoC and hybrid emulation.
by pgimeno
Fri Sep 09, 2022 8:14 pm
Forum: General Discussions
Topic: Next Generation FPGA Hardware's Potential for Existing MiSTer Cores?
Replies: 27
Views: 6293

Re: Next Generation FPGA Hardware's Potential for Existing MiSTer Cores?

Maybe not Voodoo, but real OPL3, a 487 coprocessor and some outstanding bugfixes that are now unfixable would become possible for ao486. Perhaps some more advanced arcades would become possible too.

The DS maybe, the N64 definitely not. This has been said in other threads.
by pgimeno
Mon Sep 05, 2022 9:33 pm
Forum: General Discussions
Topic: Why is the time never right in my main MiSTer core?
Replies: 7
Views: 1167

Re: Why is the time never right in my main MiSTer core?

There's always the RTC addon.
by pgimeno
Mon Sep 05, 2022 9:30 pm
Forum: IBM PC, PCXT, Tandy 1000
Topic: MiSTer PCXT
Replies: 1405
Views: 561433

Re: MiSTer PCXT

Xbytez is also an admin; maybe you can PM him about a PCXT dedicated section.

Alternatively, the "ao486 (PC 486SX)" section could be renamed "PC (ao486 / PCXT)" or something so that both computers are under a common section, but I'm not sure that would work well.