Coder Social home page Coder Social logo

spectravideo-floppy-emulator's People

Contributors

kernelcrash avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar

spectravideo-floppy-emulator's Issues

Built project but no success... [SOLVED]

Hi, not sure if your still actively working on this project but here goes...
I built the project EXACTLY as per your configuration (board type, wiring, code etc) but have not had any luck getting a successful result after a week of debugging.... :-(

I get absolute no response from the SVI-328 as to detecting a disk image.

So I've added temporary UART debug code to see what is going on....

  • Program loads into 'main'.
  • Selects first disk image (tried multiple images and tested all disk image in different SVI emulators on the PC) .
  • LED D2 shows a solid green.
  • Tested without an SD card - LED D2 flashes an error code as expected. UART debugging reports missing SD card
  • I can select different images on the SD card with the 'NEXT' button - UART debugging reports the new (full) file name and the image density size (single or double)
  • If the SVI computer is turned on, I CANNOT change disk image. The 'NEXT' button won't respond though STM32cubeIDE debugging suggests 'main' is working and code stepping through 'main' still works.

I've also tried to debug the process as the SVI-328 boots to 'diskBASIC'. I get the following results...

  1. 'fdc_sector_write' (line 1189, interrupt.S) gets called but stays in an infinite loop UNLESS i comment out the 'iorq_databus_write_delay' call.
  2. next 'fdc_sector_read'(line 624, interrupt.S) gets called - seems okay
  3. then 'fdc_sector_write'(line 1292,interrupt.S) is called but again will not exit UNLESS i comment out the 'iorq_databus_write_delay' again.
  4. code operation returns to 'main' while() loop.
  5. SVI shows no indication of a disk or the ability to access the disk...

So, I guess I'm running out of ideas as I think I'm missing information on how the process is supposed to work. And maybe my lack of STM32 knowledge.
What should the order of operation be when the SVI boots? I imagined writing to the FD1793 register then reading it back to test if a FDC is connected....???
I'm not sure if I have a timing issue or hardware with the results I get...?
I can't get it out of my head that the /WR line is not used/connected... I assumed it mandatory for register and disk writes.
I've looked at the other Floppy emulators you've created (MSX, Electron, Dragon etc) for something I've missed but who knows...
But I now see where the code references to a PS2 keyboard and ROM images came from... cut and paste huh.. :-)

Any feedback would be appreciated.
Thanks.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.