foft

Members
  • Content count

    35
  • Joined

  • Last visited

  • Days Won

    2

Everything posted by foft

  1. @ablic: I don't know what else to suggest:( Possibly a fault on the sd card or the board. @felix: Here are a few fun pd games, so you can include some: http://a8.fandal.cz/detail.php?files_id=2441 http://a8.fandal.cz/detail.php?files_id=1990 http://a8.fandal.cz/detail.php?files_id=7075 http://a8.fandal.cz/detail.php?files_id=7061 There are of course many more! I think it is ok to distribute altirra basic and altirra os. The replacements Avery made for http://www.virtualdub.org/altirra.html
  2. Can you show me the directory listing of atari800/user? I think perhaps there are some files in there that have complex names that crash it somehow. Perhaps just put in two files by themselves in that dir: test.atr test.car I programmed the core version you are using to my papilio duo and its working fine. So its not a simple bad build. Does the atari memory test run reliably?
  3. Two thoughts on what it could be. The pins are shared so you need to put the avr pins in high impedance. There is a sketch listed earlier in this thread. You put .atr,.xex and .car files under atari800/user/? The .car files are shown only in the cart selector iirc. I'm not sure how to make ise build to design lab format from the command line? 2MB won't make a difference I think, though I should do a build for that, to allow 1MB ext ram.
  4. foft

    Acorn Atom on the Duo

    I use this spi master hardware: https://www.eewiki.net/display/LOGIC/Serial+Peripheral+Interface+%28SPI%29+Master+%28VHDL%29 56Mhz clk, clk_div is set to 2. So I think about 14MHz but To be honest I never double checked with my scope or la! Edit: of course init runs slow before the speed is boosted. I use a divider of 128 for that. Oh and worth checking the code matches the flow chart:) http://www.scrameta.net/atarixlfpga_svn/trunk/atari_800xl/firmware/sd_direct/
  5. foft

    Acorn Atom on the Duo

    In Atari 800 I use code from this site, which I think follows the linked process below (I've not checked). It seems pretty robust. http://elm-chan.org/docs/mmc/gx1/sdinit.png
  6. I'm pretty sure this works. I'll double check. You definitely have the sound plugged into the correct audio out jack (there are two)?
  7. I've kicked off the build scripts. If your monitor can't do pal scandoubled the others will be up in about 5 hours! Thanks for the help. Edit: Here http://www.scrameta.net/autobuild/20150417/papilioduo/
  8. Aha, done uploading. Yep that works now:-) I'll build all the core versions. It needs to be combined with this sketch. Also note that the PS2 keyboard should go back into port 1!
  9. Think I'm being stupid - I forgot there are two USB ports and I need to connect the other one to program the AVR...
  10. Its the joystick that is shared. PS2 port 2 works perfectly:-) I just tried a similar sketch with no luck, will check your one. I as trying pin 0 to 1000 though perhaps that was an error;-) Edit:My mistake, see below. Here is a .bit without the arduino held in reset. http://www.scrameta.net/autobuild/papilioduo.bit (PAL, 31KHz, composite sync) edit: in design lab is it meant to do anything after 'uploading...'? e.g. say 'upload complete' or similar?
  11. After some investigation... Its the same problem as with the PS2 port 1, ie conflict of some kind with the AVR. I checked R110 is definitely low, so the AVR should be in reset. I checked the joystick lines on the scope and I see it periodically pulled low, when I'm not touching the stick. The FPGA is definitely set up as input only on these pins. This does not usually happen immediately after I power on, but after some time. Once it happens flashing the core again does not fix it. So I suspect holding the avr in reset is not enough. Of course I should learn to write sketches, but for now is there any chance of someone kind making me a sketch to just put the AVR in high impedance mode? I'll modify my FPGA project to lock the AVR out of reset. I could connect it to SW1 but since that breaks the core probably not worthwhile!
  12. Great to hear you got something running. That bug is weird - it's the same code for joystick pressed/released in both places. I see it too, intermittently. I'll investigate.
  13. Hi Jack, This core? http://www.scrameta.net/autobuild/20150404/papilioduo/build_NTSC_VGA/papilioduo.bit Just checking you realised they are not updated in-place. I just double checked this bit (I sample them, too many platforms to test all of them individually). My monitor (Dell U2412M) is very tolerant, even 15KHz modes all work. Its always worth checking a 2nd monitor these days. FAT32 should be ok, I'm using petitfatfs - http://elm-chan.org/fsw/ff/00index_p.html. You could try another sd card though, it does require 512 byte sectors etc and some cards have broken init. I should add some colours for different error codes. e.g. sd card init failed, rom missing etc. It boots without keyboard fine, though its not so interesting to use. Mark P.S. I know you got a black screen, but any sound? The XL gives a bubbling sound on boot.
  14. Not sure if anyone else tried this... I've put up a build that improves the sync issues.
  15. The manual is here: http://www.scrameta.net/Atari%20800%20FPGA%20Manual.pdf Short version of sd setup: atari800/rom/atarixl.rom atari800/rom/ataribas.rom atari800/user/*.atr atari800/user/*.car See a8.fandal.cz for atr files Search on net for xf25.zip for roms Hold option(f8) when booting to disable basic. Needed for lots of software. Oh and keyboard in port 2. F12 for menu
  16. If I use PS2 port one on the classic computing shield it works, but eventually the lights on my keyboard start flashing. I'm using the port purely as an input from the FPGA. PS2_CLK1 : IN STD_LOGIC;PS2_DAT1 : IN STD_LOGIC; I do not have this issue with PS2_CLK2/PS2_DAT2, so will use them for now. I see the pins are shared with the arduino so I guess that is related. In my vhdl code I'm holding the arduino in reset with: ARDUINO_RESET <= '0'; Is there a workaround for this? I guess I should take the arduino out of reset them upload some code to it to ensure these pins are high impedance?
  17. foft

    Papilio 3d printer firmware ideas

    Just a thought on avr- wishbone and zpu- wishbone. It's prettty normal on multiprocessor systems to have communication via slaves on the bus rather than CPU-CPU comms.. Eg they could both write to memory or a custom slave. I guess wishbone has some arbitration to choose between multiple masters. Be careful of race conditions!
  18. @Lak: Yeah sorry ps2 port1 is flakey for me - not sure why. Should have mentioned that in the post about the build being up. Managed to run some program's ok? @vlait: I checked on my lcd yesterday. The composite sync builds are working, but the separate sync builds are not. I found a dropped hsync pulse during vsync which is likely why. Did it work on your big tv?
  19. Many lcds only accept >56Hz, so pal may truly be out of range. NTSC scandoubled should be ok on most lcd screens. I'll double check the build later on mine - been testing on my crt. Is the larger sram chip also 10ns? I think I drive all higher address lines low but will check. ie higher men boards should work, but I don't have one to test with. Did you set up the sd card with os/basic roms? Do you mean the 'atari basic' blue screen then it reboots?
  20. Working builds of the Atari 800XL core here: http://www.scrameta.net/autobuild/20150328/papilioduo/ See the manual linked here - the SD card needs setting up like the DE1: http://www.scrameta.net/ Some differences from other platforms - 512KB and LX9 is a bit tight: i) Mono pokey ii) No turbo freezer iii) 64KB max for cartridges (32KB of which is shared with directory listings) iv) 64KB for directory listings, so not too many files/dir on the SD card. v) Max mem configuration is 320KB (Compy shop or Rambo) vi) No covox Seems to run reliably for me.
  21. Just took a quick glance at the datasheet. I see 2 pins connected to the FPGA and the MPSSE needs 4. Am I missing something?
  22. That should work. The reason I ask about the direction is the way the FX2 works. The 8051 is too slow to transfer the bytes manually, so it must be configured to just forward everything from the USB port to the GPIO. I only ever set this up one and left it since I was doing one way communication (DVB streams). For two way the 8051 would need to reconfigure it to be an input at some point. Anyway its 10 years since I was familiar with this so you'll have to read the FX2 manual to check it will work. From the papilio duo side I think 16-bit @ 12-13MHz is not a problem.
  23. Why not connect a cypress fx2 board to the gpio? Boards with them are cheap now. They can sample 16 bits and send over usb2. At 30MHz you will saturate the usb2 bus (actually before since the host requests first). You will need to write some 8051 firmware for the fx2 and a driver for the PC. What are you hoping to do? One way transfers from fpga to PC or something more complex.