Welcome, Guest. Please login or register.


Author Topic: SD card interface (Read 95474 times)

Offline Saint

  • EP user
  • *
  • Posts: 266
  • Country: gb
  • OS:
  • Windows 7/Server 2008 R2 Windows 7/Server 2008 R2
  • Browser:
  • Chrome 34.0.1847.131 Chrome 34.0.1847.131
    • View Profile
Re: SD card interface
« Reply #180 on: 2014.May.13. 23:15:00 »
Ok, final bugs tracked down, and I'm now playing some games on the Enterprise from SD card. :)

I need to add write support now and tidy things up, but its working..... :smt040

Offline gflorez

  • EP addict
  • *
  • Posts: 2452
  • Country: es
  • OS:
  • Windows XP Windows XP
  • Browser:
  • Firefox 29.0 Firefox 29.0
    • View Profile
Re: SD card interface
« Reply #181 on: 2014.May.13. 23:20:04 »
Great!

Offline BruceTanner

  • EP user
  • *
  • Posts: 461
  • Country: gb
  • OS:
  • Linux Linux
  • Browser:
  • Chrome 34.0.1847.114 Chrome 34.0.1847.114
    • View Profile
Re: SD card interface
« Reply #182 on: 2014.May.14. 08:17:54 »
WoooooHooooo! :smt026

Offline weirdocollector

  • Newbie
  • Posts: 8
  • Country: it
  • OS:
  • Windows 7/Server 2008 R2 Windows 7/Server 2008 R2
  • Browser:
  • Chrome 34.0.1847.131 Chrome 34.0.1847.131
    • View Profile
Re: SD card interface
« Reply #183 on: 2014.May.14. 08:45:01 »
Hurrah for Saint !!

Offline jltursan

  • User
  • *
  • Posts: 69
  • Country: es
  • OS:
  • Windows NT 6.3 Windows NT 6.3
  • Browser:
  • Firefox 27.0 Firefox 27.0
    • View Profile
    • JLTurSan's MSX page - My little MSX corner
Re: SD card interface
« Reply #184 on: 2014.May.14. 20:36:16 »
Pics or it didn't happen! :lol:

Offline Saint

  • EP user
  • *
  • Posts: 266
  • Country: gb
  • OS:
  • Windows 7/Server 2008 R2 Windows 7/Server 2008 R2
  • Browser:
  • Chrome 34.0.1847.137 Chrome 34.0.1847.137
    • View Profile
Re: SD card interface
« Reply #185 on: 2014.May.14. 21:14:24 »
Quote from: jltursan
Pics or it didn't happen! :lol:
Soon... :)

Working on tidying up the code, then I'll stick some pics or a video or something up.

Offline Bagpuss22

  • EP fan
  • *
  • Posts: 162
  • Country: gb
  • OS:
  • Mac OS X 10.9.2 Mac OS X 10.9.2
  • Browser:
  • Safari 7.0.3 Safari 7.0.3
    • View Profile
Re: SD card interface
« Reply #186 on: 2014.May.14. 23:59:18 »
Quote from: Saint
Ok, final bugs tracked down, and I'm now playing some games on the Enterprise from SD card. :)

I need to add write support now and tidy things up, but its working..... :smt040
Awesome work :smt023

Offline Saint

  • EP user
  • *
  • Posts: 266
  • Country: gb
  • OS:
  • Windows 7/Server 2008 R2 Windows 7/Server 2008 R2
  • Browser:
  • Chrome 34.0.1847.137 Chrome 34.0.1847.137
    • View Profile
Re: SD card interface
« Reply #187 on: 2014.May.16. 00:27:35 »
I've been working on tidying up the SD card driver -- added a nice boot screen with hi-res text display. Some pictures of it working... :)

Offline BruceTanner

  • EP user
  • *
  • Posts: 461
  • Country: gb
  • OS:
  • Linux Linux
  • Browser:
  • Chrome 34.0.1847.114 Chrome 34.0.1847.114
    • View Profile
Re: SD card interface
« Reply #188 on: 2014.May.16. 10:03:51 »
:):razz::ds_icon_cheesygrin::mrgreen::bow:

Offline fatbob_gb

  • Newbie
  • Posts: 16
  • Country: gb
  • OS:
  • Windows XP Windows XP
  • Browser:
  • Firefox 29.0 Firefox 29.0
    • View Profile
Re: SD card interface
« Reply #189 on: 2014.May.16. 10:35:54 »
Quote from: BruceTanner
:):razz::ds_icon_cheesygrin::mrgreen::bow:
+Loads :mrgreen:

Offline Zozosoft

  • EP addict
  • *
  • Posts: 13177
  • Country: hu
  • OS:
  • Windows XP Windows XP
  • Browser:
  • Firefox 29.0 Firefox 29.0
    • View Profile
    • http://enterprise.iko.hu/
Re: SD card interface
« Reply #190 on: 2014.May.16. 11:20:43 »
:smt041

Offline lgb

  • EP addict
  • *
  • Posts: 3496
  • Country: hu
  • æðsta yfirmaður
  • OS:
  • Linux (Ubuntu) Linux (Ubuntu)
  • Browser:
  • Firefox 29.0 Firefox 29.0
    • View Profile
    • http://lgb.hu/
Re: SD card interface
« Reply #191 on: 2014.May.16. 11:37:31 »
Woooo, cool, really :) Now this combined rom+ram+sd solution (with external SPI) does everything I was thinking about in the past. Except one: some kind a - let's name it - "short bus" to easly add simple hardwares (which are not SPI) doing only 8 bit I/O and some pre-decoded select signals etc with more compact connector. But besides that it can do everything now, most people would ever require :) A typical example for this: adding an RTC chip. Otherwise you would require to decode the I/O port, the control bus signals etc and you also need a large, not so easy to get/build connector just to connect a little IC onto your lovely EP :)
« Last Edit: 2014.May.16. 13:53:33 by lgb »

Offline Zozosoft

  • EP addict
  • *
  • Posts: 13177
  • Country: hu
  • OS:
  • Windows XP Windows XP
  • Browser:
  • Firefox 29.0 Firefox 29.0
    • View Profile
    • http://enterprise.iko.hu/
Re: SD card interface
« Reply #192 on: 2014.May.16. 11:38:19 »
Quote from: Saint
I need to add write support now
If it is done, then try to test with this little program: for the first run create 4MB TESTFILE.BIN with pseudo random numbers.
At the second run when the .BIN exist verify it.
If error found then halt with flashing border color, if all ok will return to ENTERPRISE screen.

Offline Saint

  • EP user
  • *
  • Posts: 266
  • Country: gb
  • OS:
  • Mac OS X Mac OS X
  • Browser:
  • Safari 6.0 Safari 6.0
    • View Profile
Re: SD card interface
« Reply #193 on: 2014.May.17. 10:19:41 »
Thanks Zozo! I wrote the write sector code and added the correct status bits for other routines last night, but haven't had a chance to test yet. This program will be very useful, thanks! :)

I'll see if I have room on the PCB / CPLD for a generic I/O port on the next revision of the PCB as well... :)

Offline jltursan

  • User
  • *
  • Posts: 69
  • Country: es
  • OS:
  • Windows NT 6.3 Windows NT 6.3
  • Browser:
  • Firefox 27.0 Firefox 27.0
    • View Profile
    • JLTurSan's MSX page - My little MSX corner
Re: SD card interface
« Reply #194 on: 2014.May.18. 23:06:13 »
Woot!, it happened! :ds_icon_cheesygrin:

Really impressive work! :smt038