6502.org Forum  Projects  Code  Documents  Tools  Forum
It is currently Sat Nov 23, 2024 1:36 pm

All times are UTC




Post new topic Reply to topic  [ 18 posts ]  Go to page Previous  1, 2
Author Message
PostPosted: Mon Jan 12, 2015 12:43 pm 
Offline

Joined: Mon Jan 07, 2013 2:42 pm
Posts: 576
Location: Just outside Berlin, Germany
molleraj wrote:
Thank you for describing all the different options! I've done some more reading as well and I think I'll stick with FIG-Forth.

Finally found the list again I had wanted to link: Differences between FIG-Forth and ANS Forth (http://www.triangledigital.com/man2020f/ch1fig.htm). Note DO/LOOP, PICK, and ROLL especially, and ENDIF instead of THEN.


Top
 Profile  
Reply with quote  
PostPosted: Mon Apr 13, 2015 1:24 am 
Offline

Joined: Wed Jan 07, 2015 4:00 pm
Posts: 10
Thanks, Scot! I'm going to stick with FIG Forth for now. I'll make sure to incorporate the UM/MOD fix (http://6502.org/source/integers/ummodfix/ummodfix.htm). I will be getting back to this project soon. I've begun arranging components on my board.

Quick question - does anyone know if I could use a IDE-to-CF adapter (like this one: http://i00.i.aliimg.com/wsphoto/v0/1092 ... dapter.jpg) with a 8-bit CF interface? I see some examples (viewtopic.php?f=4&t=2877) but I don't see the connections listed. It sounds like it is simply a matter of connecting CF lines to 6502 buses with no additional logic. The data bus (D0-D7) and address (A0-A2) connections are straightforward.

But for the other lines (/IORD, /IOWR, /CS1, /CS2, /RESET), how would these be connected to the 6502 bus? I want to I/O map the CF card to 7F00 (with a 74LS138 I/O address decoder). Regarding output/write enables, are /IORD and /IOWR used, or /OE and /WE? What is the difference between these sets of CF control lines? Some CF interface implementations use /IORD and /IOWR while others use /OE and /WE.

/OE and /WE: http://www.walrus.com/~raphael/pdf/comp ... rticle.pdf
/IORD and /IOWR: http://read.pudn.com/downloads52/ebook/ ... S72032.pdf

Does anyone have some example CF loading/saving subroutines? I'm going to try coming up with Forth BLOCK storage subroutines that save each 1024-byte block as two 512-byte CF sectors.


Top
 Profile  
Reply with quote  
PostPosted: Mon Apr 13, 2015 2:37 am 
Offline

Joined: Wed Jan 07, 2015 4:00 pm
Posts: 10
Never mind about /IORD and /IOWR - those are the only read and write IDE control lines. I had been looking at the CF pinouts. I'll stick to IDE pinouts (40 pin). Whoops! :)


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 18 posts ]  Go to page Previous  1, 2

All times are UTC


Who is online

Users browsing this forum: No registered users and 22 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: