Started by ikonsgr, 09:17, 01 December 20
0 Members and 4 Guests are viewing this topic.
Quote from: VintageAdvantage on 18:35, 02 December 20This is brilliant and a great example of what can be done if the MCU is fast enough - everything that requires extra glue logic chips for address decoding with slower MCUs can just be done in software with all these extra MHz's. Did you program the firmware in ASM or C? Good choice of the MCU.
Quote from: ikonsgr on 20:20, 02 December 20These are small programmable logic modules where you can assign type of logic (AND OR gates, Flip-Flops etc,and even combination of them), and set for, up to 4 inputs and an output. When module is activated (which can be done "on the fly" in microcontroller program) it will act like a real logic chip, e.g. have INSTANT responce on input signal changes!
Quote from: GUNHED on 19:36, 02 December 20Thanks a lot for your answer. Sorry, I don't know the usifac 2 as well as you. So don't bother if I ask something twice.
Quote from: GUNHED on 19:36, 02 December 20About the X-DDOS ROM... the best one is attached to this post. See below.[/font]Can we burn the chip on the card by myself to alter the ROM content? Maybe this would make things more easy for you
Quote from: VintageAdvantage on 20:41, 02 December 20That is interesting. How do you program these? Is that done from the MPLAB Microchip IDE?
Quote from: VintageAdvantage on 20:41, 02 December 20And the main firmware is in BASIC? Wow! I should switch over to PICs...
Quote from: VintageAdvantage on 20:41, 02 December 20So this is combinational logic only it seems. No Flipflops or Latches in the logic cells possible?
Quote from: VintageAdvantage on 20:41, 02 December 20It seems you still need to pause the Z80 via pulling READY to not "miss" the databus... correct?
Quote from: GUNHED on 20:59, 02 December 20Oh, the PIC is too new for my Vspeed Stager (2015). Maybe I can get a software update for it.Do you have the ParaDOS at position 7 like the Amsdos? In this case I wouldn't need XDDOS. Need to read the USIfAC manual again...Cant't wait to use it to emulate an real FDC.
Quote from: Gryzor on 22:00, 04 December 20As a simple user I'd find snapshot support useful for those programs that refuse to load, for whatever reasons, from the device...
Quote from: XeNoMoRPH on 09:39, 05 December 20@ikonsgr , with http://cngsoft.no-ip.org/cpcec.htm , takes custom snapshots of used memory: automatically detects if the first 64k is enough.
Quote from: Takis Kalatzis on 16:18, 06 December 201. Since M4 has already the ability to load games (either from files or from .DSK), what are the benefits of running games/programs through USifAC? I guess the loading time will be faster, but will I be able to run programs that are not cracked? For example, I have not been able to run "The Pawn" through M4 in whatever version I tried.
Quote from: Takis Kalatzis on 16:18, 06 December 202. Shall I need a Mother X4 board (or similar) in order to have both M4 and USifAC connected at the same time? My understanding is that they both use CPC's expansion port (and for those who have Mother X4: can I connect an M4 with an Edge Adapter directly on Mother X4 or will I need another cable/adapter?)Keep up the good work!Takis
Quote from: Takis Kalatzis on 16:18, 06 December 20I have not been able to run "The Pawn" through M4 in whatever version I tried.
Quote from: ikonsgr on 21:51, 06 December 20Also,i think that M4 doesn't offer the "direct mode" to load files directly from a usb flash drive instead from image containers, at least not at such great speeds of ~20kb/sec.
QuoteWell,i suppose you could do that, but if you already have a M4 board, i don't find any reason for having a USIfAC II, unless,perhaps, you want to load games even faster!
Quote from: Duke on 23:34, 06 December 20Well you are wrong.Just for the kicks I quickly wrote a simple basic test to measure the speed of accessing the microSD card via firmware on M4 board.The speed after a 4 minute run is around 100 KB/s.Unless my program is completely wrong, you could try it on your device aswell:10 MEMORY &1FFF 20 MODE 230 u = TIME40 t = 050 a = TIME60 FOR i=1 TO 1070 LOAD"32KB_BLK.BIN",&200080 t=t+3290 NEXT100 b = TIME110 PRINT 320/((b-a)/300);" KB/s - total : ",t;" KB/", (TIME-u)/300;" Sec"120 GOTO 50First save a 32KB block, ie. like this save"32KB_BLK.BIN",b,&2000,&8000And you may want to start a timer next to it in case you have any interrupt disabling (I used my phone and ran the test for 4 minutes).Also it could be much faster written in assembler and doing direct access. The microSD on M4 board is connected via SDIO 4 bit, its very fast if the card allows it Other than that. Congrats on your device, it looks promising - good job
Quote from: ikonsgr on 02:11, 07 December 20 100kb/sec? Wow! Although it seems a bit... "too much",i mean, even copying a memory block in Amstrad's RAM can't be faster than ~60-65kb/sec.... Unless you are using MCU's internal RAM and not Amstrad's ram....
Quote- Apart from the above speed test, can M4 also run games/programs directly from files at such speeds? Because the ~20kb/sec USIfAC II can achieve, is not just a speed test, but the ACTUAL average loading speed of REAL games!
Quote- Does M4 is able to also take snapshots or only load ones? And could you give some details on how exactly you do that? (i never got involved with snapshots, so i would appreciate any help on that)
Quote- Can M4 mount more than one dsk images and somehow select them "on the fly", for supporting "in game" disk (image) swapping? (i'm experimenting on that too with USIfAC II)
Quote- Does M4 support dsk image access of large non AMSDOS formats, like the various dual head and/or 80tracks PARADOS formats of up to 800kb?
Quote from: Duke on 03:40, 07 December 20Actually as far as I remember we can move around 4KB of data per frame using ldi/ldir/stack on CPC, so that would amount to roughly 200 KB/s.
Quote from: Duke on 03:40, 07 December 20Yes, it can take snapshots via the HACK menu... The HACK menu source code is available here, if it can be of any help:https://github.com/M4Duke/m4hackmenu
Quote from: ikonsgr on 03:55, 07 December 20Do you have any video of loading a game directly from files? I would LOVE to see running a game in... half a second!
Quote That's really could be great help! Thanks a lot for letting me know! One last question: to enable my "save snapshot" routine installed in interface's rom, i should place at boot (probable in the initialization routine of usifac's rom) an RST3 command @&66 ram address, so when NMI is activated, execution will jump to &66 ,and from there, call my routine. Is this the correct approach?
Quote from: Audronic on 09:37, 07 December 20Unable to Play Video
Quote from: ikonsgr on 21:51, 06 December 20Well,i suppose you could do that, but if you already have a M4 board, i don't find any reason for having a USIfAC II,unless you are an Amstrad collector and you want to have all existed hardware ...
Quote from: Duke on 03:40, 07 December 20Yes it does. Ie. ROMDOS (D1/D2/D10/D20/D40) and PARADOS 80.
Page created in 0.353 seconds with 49 queries.