Search found 870 matches

by spark2k06
Thu Mar 02, 2023 7:06 am
Forum: IBM PC, PCXT, Tandy 1000
Topic: PCXT Core Access to Secondary SD Card
Replies: 105
Views: 27428

Re: PCXT Core Access to Secondary SD Card

Please check that CMD changes at the same time as the falling edge of CLK. In the figure below, the waveform looks sluggish, but this is because a passive probe is connected. Ignore it for now. 2023-03-01 214837.png Without going into detail because I can't right now, this is the result of the SD_SCLK and SD_MOSI ( CMD ) signals together: SD_SCLK ...
by spark2k06
Thu Mar 02, 2023 4:47 am
Forum: IBM PC, PCXT, Tandy 1000
Topic: PCXT Core Access to Secondary SD Card
Replies: 105
Views: 27428

Re: PCXT Core Access to Secondary SD Card

According to the schematics, GND1 (pin 6 of SDCARD) and pin N11 of the FPGA, both are connected to GND.

by spark2k06
Thu Mar 02, 2023 4:36 am
Forum: IBM PC, PCXT, Tandy 1000
Topic: PCXT Core Access to Secondary SD Card
Replies: 105
Views: 27428

Re: PCXT Core Access to Secondary SD Card

kitune-san wrote: Thu Mar 02, 2023 12:23 am

If this pin is floating, power may not be supplied to the card.

This card works well in other cores, in SPI mode, that's a fact. I'll check the clock and CMD later.

However, if it is connected to the FPGA, it will be as simple as setting it to 0, I will also try it... I have not looked at the code of other cores.

by spark2k06
Wed Mar 01, 2023 3:24 pm
Forum: IBM PC, PCXT, Tandy 1000
Topic: PCXT Core Access to Secondary SD Card
Replies: 105
Views: 27428

Re: PCXT Core Access to Secondary SD Card

Could you please check the waveforms (SD_SCLK, SD_MOSI) immediately after resetting the core? SD_MOSI (CMD) has intermittent accesses from the very beginning of the core, however SD_MISO (DATA) has none, here you can see a downstream trigger on SD_MISO (yellow wave)... set just before starting the core: Hantek_01.jpg The trigger (single mode) is n...
by spark2k06
Wed Mar 01, 2023 6:47 am
Forum: IBM PC, PCXT, Tandy 1000
Topic: PCXT Core Access to Secondary SD Card
Replies: 105
Views: 27428

Re: PCXT Core Access to Secondary SD Card

It seems difficult to analyze further. One last thing, since the following signal is in reg. Could you try changing it to wire or back to 1'b1? Thank you. 2023-03-01 004353.png I have changed the value of SD_sn_CS to 1 , instead of Z : https://github.com/spark2k06/PCXT_ZXUno/commit/e1229469a46d5aae33375d831a1dd27a00385327 SD_SCLK operation, correc...
by spark2k06
Tue Feb 28, 2023 4:01 pm
Forum: IBM PC, PCXT, Tandy 1000
Topic: PCXT Core Access to Secondary SD Card
Replies: 105
Views: 27428

Re: PCXT Core Access to Secondary SD Card

kitune-san wrote: Tue Feb 28, 2023 3:47 pm

It seems difficult to analyze further.

One last thing, since the following signal is in reg.
Could you try changing it to wire or back to 1'b1?

Thank you.

2023-03-01 004353.png

Yes, I'll try that soon and some oscilloscope testing if it still doesn't work. I will let you know.

by spark2k06
Tue Feb 28, 2023 3:32 pm
Forum: IBM PC, PCXT, Tandy 1000
Topic: PCXT Core Access to Secondary SD Card
Replies: 105
Views: 27428

Re: PCXT Core Access to Secondary SD Card

kitune-san wrote: Tue Feb 28, 2023 3:29 pm

2023-03-01 002834.png

Oops! commented out... :o

UCF file of UnoXT model is this:

https://github.com/spark2k06/PCXT_ZXUno ... t_pins.ucf

by spark2k06
Tue Feb 28, 2023 3:28 pm
Forum: IBM PC, PCXT, Tandy 1000
Topic: PCXT Core Access to Secondary SD Card
Replies: 105
Views: 27428

Re: PCXT Core Access to Secondary SD Card

kitune-san wrote: Tue Feb 28, 2023 3:25 pm

Wrong, system_2MB
I am a little confused.

That module is shared between all ZXUno models of 2Mb or + in the repository, but yes, for these tests the top is unoxt_top.v

by spark2k06
Tue Feb 28, 2023 3:26 pm
Forum: IBM PC, PCXT, Tandy 1000
Topic: PCXT Core Access to Secondary SD Card
Replies: 105
Views: 27428

Re: PCXT Core Access to Secondary SD Card

Right now, for these tests this is the case. The latest changes (before going up from 100 to 200), are here:

https://github.com/spark2k06/PCXT_ZXUno ... am_32Kb_sd

by spark2k06
Tue Feb 28, 2023 3:11 pm
Forum: IBM PC, PCXT, Tandy 1000
Topic: PCXT Core Access to Secondary SD Card
Replies: 105
Views: 27428

Re: PCXT Core Access to Secondary SD Card

kitune-san wrote: Tue Feb 28, 2023 2:52 pm

After reverting the changes, could you make the following changes to slow down the clock?
2023-02-28 234942.png

Nothing. Raised both values from 100 to 200, and still no detection...

by spark2k06
Tue Feb 28, 2023 2:48 pm
Forum: IBM PC, PCXT, Tandy 1000
Topic: PCXT Core Access to Secondary SD Card
Replies: 105
Views: 27428

Re: PCXT Core Access to Secondary SD Card

Don't worry, the next step will be to use oscilloscope (real) on the SD pins... and we'll see what happens and if we can interpret it, I'll share the results when I can get on it.

by spark2k06
Tue Feb 28, 2023 2:43 pm
Forum: IBM PC, PCXT, Tandy 1000
Topic: PCXT Core Access to Secondary SD Card
Replies: 105
Views: 27428

Re: PCXT Core Access to Secondary SD Card

My suggestion. Could you please try this change when you have time? https://github.com/kitune-san/PCXT_ZXUno/tree/mmc_suggestion I've tried it, but it still doesn't detect anything... to rule out, could you tell me what I can change in KFMMC_IDE to force its identification by XTIDE , even if then the SD usage doesn't work... I want to make sure th...
by spark2k06
Tue Feb 28, 2023 2:12 pm
Forum: IBM PC, PCXT, Tandy 1000
Topic: PCXT Core Access to Secondary SD Card
Replies: 105
Views: 27428

Re: PCXT Core Access to Secondary SD Card

My suggestion. Could you please try this change when you have time? https://github.com/kitune-san/PCXT_ZXUno/tree/mmc_suggestion I've tried it, but it still doesn't detect anything... to rule out, could you tell me what I can change in KFMMC_IDE to force its identification by XTIDE , even if then the SD usage doesn't work... I want to make sure th...
by spark2k06
Tue Feb 28, 2023 7:06 am
Forum: IBM PC, PCXT, Tandy 1000
Topic: PCXT Core Access to Secondary SD Card
Replies: 105
Views: 27428

Re: PCXT Core Access to Secondary SD Card

I upload modified version of the Verify command. PCXT_MMC_TEST_2.zip The write speed took 17ms per 512bytes on my chip (SDSC 2GB). 512/17ms = 30kByte/s. If clock speed could be increased, I think it could be improved a little more. 20230227-0002_01.png Despite that performance during writing, it seems that at least there are no more problems in wr...
by spark2k06
Tue Feb 28, 2023 5:21 am
Forum: IBM PC, PCXT, Tandy 1000
Topic: How to Run Problematic Games
Replies: 33
Views: 14820

Re: How to Run Problematic Games

Hi, spark2k06, I think there is a problem when using the new ide_xtl.rom with Tandy - it makes Sierra games hang. I didn't have time to test this extensively, but it seems to be related only to Sierra, as a handful of random other games I've tried run ok. When I use the old ide_xtl rom they work fine (though the BASICA games understandably don't)....
by spark2k06
Tue Feb 28, 2023 4:57 am
Forum: IBM PC, PCXT, Tandy 1000
Topic: PCXT Core Access to Secondary SD Card
Replies: 105
Views: 27428

Re: PCXT Core Access to Secondary SD Card

kitune-san wrote: Tue Feb 28, 2023 4:51 am

At this time, if the SD card is not recognized, the KFMMCIDE identifier will not be displayed.
I'm busy and will continue later.

Understood, thanks for the information.

by spark2k06
Tue Feb 28, 2023 4:45 am
Forum: IBM PC, PCXT, Tandy 1000
Topic: PCXT Core Access to Secondary SD Card
Replies: 105
Views: 27428

Re: PCXT Core Access to Secondary SD Card

Thanks for the information. The port input/output settings need to be reviewed. In native mode change some ports to inout. I will write down the specific changes after I finish today's work. Okay, thank you. However, even if the SD reading does not work. XTIDE should not show at least the KFMMCIDE identifier? This is provided by the IDE module...b...
by spark2k06
Tue Feb 28, 2023 4:36 am
Forum: IBM PC, PCXT, Tandy 1000
Topic: Extend PCXT Development to Improve MiSTer Core (DeMiSTify Ports)
Replies: 125
Views: 34337

Re: Extend PCXT Development to Improve MiSTer Core (DeMiSTify Ports)

I am implementing an IDE-MMC(SDCard) conversion... For DeMiSTify ports the soft controller already uses SD card. Usually we don't have a secondary SD card like MiSTer does. For testing purposes can be added a secondary SD card, but in MiST / DeMiSTfiy should be used a more integrated way to deal with the IDE. Do you think It is still valid the cod...
by spark2k06
Mon Feb 27, 2023 4:54 pm
Forum: IBM PC, PCXT, Tandy 1000
Topic: PCXT Core Access to Secondary SD Card
Replies: 105
Views: 27428

Re: PCXT Core Access to Secondary SD Card

I believe that native mode (same implementation as MiSTer) can be used with ZXUno without the need to implement SPI. I will look for ZXUno to see if I can buy it (and deliver it to Japan). Here would be the commit of changes related to the KFMMC implementation, so you can look only at the changes, and nothing else, to focus on them. It synthesizes...
by spark2k06
Mon Feb 27, 2023 3:21 pm
Forum: IBM PC, PCXT, Tandy 1000
Topic: PCXT Core Access to Secondary SD Card
Replies: 105
Views: 27428

Re: PCXT Core Access to Secondary SD Card

During the week I will have very little time, but later I will share the ZXUno project (well, actually I am testing with a clone of it, the UnoXT), to see if, despite being a xilinx project, I can... you see something that I don't see regarding the allocation of the SD signals nothing else....

by spark2k06
Mon Feb 27, 2023 1:10 pm
Forum: IBM PC, PCXT, Tandy 1000
Topic: PCXT Core Access to Secondary SD Card
Replies: 105
Views: 27428

Re: PCXT Core Access to Secondary SD Card

Ok, when it's fixed I'll try it... no hurry. I have not yet been able to test in conditions the implementation of the SPI signals, it is not working for me but I have not been able to debug it yet... to make things easier, I have created a branch that starts from yours for its implementation in MiSTer : https://github.com/MiSTer-devel/PCXT_MiSTer/t...
by spark2k06
Sun Feb 26, 2023 12:00 pm
Forum: IBM PC, PCXT, Tandy 1000
Topic: PCXT Core Access to Secondary SD Card
Replies: 105
Views: 27428

Re: PCXT Core Access to Secondary SD Card

If this point is 3.3V, then the same module as the MiSTer should be available. 2023-02-26 203820.png In the original ZXUno project it is as you see it... in other projects I have seen, they are not connected to anything... not even to resistors. I don't really know why. https://zxuno.speccy.org/ficheros/zxuno_v41_sch.pdf I saw the artwork. https:/...
by spark2k06
Sun Feb 26, 2023 11:51 am
Forum: IBM PC, PCXT, Tandy 1000
Topic: PCXT Core Access to Secondary SD Card
Replies: 105
Views: 27428

Re: PCXT Core Access to Secondary SD Card

If this point is 3.3V, then the same module as the MiSTer should be available. 2023-02-26 203820.png In the original ZXUno project it is as you see it... in other projects I have seen, they are not connected to anything... not even to resistors. I don't really know why. https://zxuno.speccy.org/ficheros/zxuno_v41_sch.pdf By the way, this synthesiz...
by spark2k06
Sun Feb 26, 2023 11:30 am
Forum: IBM PC, PCXT, Tandy 1000
Topic: PCXT Core Access to Secondary SD Card
Replies: 105
Views: 27428

Re: PCXT Core Access to Secondary SD Card

kitune-san wrote: Sun Feb 26, 2023 11:27 am

Sorry, I do not maintain the SPI module, so I cannot give you proper advice at this time.

All right, don't worry. Thanks :-)

by spark2k06
Sun Feb 26, 2023 11:17 am
Forum: IBM PC, PCXT, Tandy 1000
Topic: PCXT Core Access to Secondary SD Card
Replies: 105
Views: 27428

Re: PCXT Core Access to Secondary SD Card

Okay, I see that I have to use this module:

SPI.png
SPI.png (18.35 KiB) Viewed 12725 times

Let me see if I understand how to hook the signals to it, because the module has others as well.

by spark2k06
Sun Feb 26, 2023 11:14 am
Forum: IBM PC, PCXT, Tandy 1000
Topic: PCXT Core Access to Secondary SD Card
Replies: 105
Views: 27428

Re: PCXT Core Access to Secondary SD Card

I will be doing the port of this development to the ZXUno , so that it works directly with the SD , instead of serdrive ... I will tell you the results. If pull-up is connected to the SD ports of the ZXUno, try the following changes. It may improve the access speed. 2023-02-26 185822.png When I get to the TOP file, I have seen that in ZXUno we onl...
by spark2k06
Sun Feb 26, 2023 8:08 am
Forum: IBM PC, PCXT, Tandy 1000
Topic: PCXT Core Access to Secondary SD Card
Replies: 105
Views: 27428

Re: PCXT Core Access to Secondary SD Card

I've been testing it... generally speaking it works well. But I think there is some problem in the write, in relation to performance or some kind of command. For example, I have a 16Gb card with a 512Mb partition and various content. I have observed slowness when writing or deleting a file... then I have tried with another 2Gb card, also with 512Mb...
by spark2k06
Sat Feb 25, 2023 7:04 pm
Forum: IBM PC, PCXT, Tandy 1000
Topic: PCXT Core Access to Secondary SD Card
Replies: 105
Views: 27428

Re: PCXT Core Access to Secondary SD Card

I created a test branch to access a secondary SD card from the PCXT core. The SD card can be used by setting the "MMC" option in the OSD menu to "Enable" and performing a reset. SD card works as a secondary IDE(KFMMCIDE00000). Note that this is a test branch. I am testing with a 2GB SDSC and do not know if other devices will wo...
by spark2k06
Fri Feb 24, 2023 4:52 pm
Forum: IBM PC, PCXT, Tandy 1000
Topic: Extend PCXT Development to Improve MiSTer Core (DeMiSTify Ports)
Replies: 125
Views: 34337

Re: Extend PCXT Development to Improve MiSTer Core (DeMiSTify Ports)

flynnsbit wrote: Fri Feb 24, 2023 1:10 am

Just don't run the dir command with all that space without FREESP running ;)

https://github.com/ChartreuseK/FREESP

MSDos 6.22 and earlier support only FAT16, so the most we'll have to wait for will be the first dir command if 2Gb partition without FREESP.

by spark2k06
Thu Feb 23, 2023 2:16 pm
Forum: IBM PC, PCXT, Tandy 1000
Topic: Extend PCXT Development to Improve MiSTer Core (DeMiSTify Ports)
Replies: 125
Views: 34337

Re: Extend PCXT Development to Improve MiSTer Core (DeMiSTify Ports)

kitune-san wrote: Thu Feb 23, 2023 2:03 pm

I am implementing an IDE-MMC(SDCard) conversion...

2023-02-23 224752.png

It looks great! This opens the door to other FPGAs

Great work, as always ;)