[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [N8VEM-S100:573] S-100 68K CPU board status
- To: n8vem-s100@googlegroups.com
- Subject: Re: [N8VEM-S100:573] S-100 68K CPU board status
- From: Mike <mi...@pikeaero.com>
- Date: Tue, 27 Dec 2011 08:18:40 -0500
- Authentication-results: gmr-mx.google.com; spf=neutral (google.com: 198.133.37.7 is neither permitted nor denied by best guess record for domain of mi...@pikeaero.com) smtp.mail=mi...@pikeaero.com
- In-reply-to: <000601ccc26c$48a74500$d9f5cf00$@YAHOO.COM>
- References: <002f01ccc183$7bb7ee70$7327cb50$@YAHOO.COM> <001301ccc199$9de6fde0$d9b4f9a0$@vitasoft.org> <4EF4DE99.8070908@gmail.com> <000301ccc1bf$a4e1d680$eea58380$@vitasoft.org> <4EF52036.4060403@gmail.com> <000001ccc1e5$ea4231e0$bec695a0$@vitasoft.org> <4EF54689.7020109@gmail.com> <000001ccc1f6$6d9727c0$48c57740$@vitasoft.org> <002f01ccc24a$f3ca6d80$db5f4880$@YAHOO.COM> <000a01ccc264$06708fa0$1351aee0$@vitasoft.org> <000601ccc26c$48a74500$d9f5cf00$@YAHOO.COM>
- User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:8.0) Gecko/20111124 Thunderbird/8.0
Guys,
Dunno if it helps but I just posted a simple 68k cross-assembler as
well. I've been using for assembling 68k ROM code on an x86 linux host.
Source is here, http://8bit.zapto.org/index.php/68000-assembler it
should build on pretty much any gcc or so.
I've got a 68k Small-C compiler that builds ROM-able assembler source
code (suitable for the above assembler) in the works along with a
simulator that will simulate some of the N8VEM cards.
I have been porting these tools from VAX/VMS 'C' source.
--Mike
http://8bit.zapto.org
On 12/24/2011 01:46 PM, Andrew Lynch wrote:
> Hi John! Thanks!
>
>
>
> The Teeside assembler is PC based (MSDOS) so you can cross-assemble
>
>
>
> There is some CP/M 68K system documentation here
>
>
>
> http://www.retroarchive.org/docs/software/cpm68.html
>
>
>
> Unfortunately there does not appear to be CP/M 68K System Alteration Guide
> AFAIK
>
>
>
> Without a sample CBIOS though creating one from scratch using an assembler
> sounds difficult and time consuming.
>
>
>
> Maybe Pontus can help us break out of this "catch-22"
>
>
>
> Thanks and have a nice day!
>
> Andrew Lynch
>
>
>
> From: n8vem...@googlegroups.com [mailto:n8vem...@googlegroups.com] On
> Behalf Of John Monahan
> Sent: Saturday, December 24, 2011 12:47 PM
> To: n8vem...@googlegroups.com
> Subject: RE: [N8VEM-S100:572] S-100 68K CPU board status
>
>
>
> Thanks Andrew. Saw the "CPM68K Source code" however that code is in C and as
> best I can tell needs an running 68K system to put it together. I suppose we
> could look for a cross compiler, linker etc. setup but those kind of things
> quickly unravel. I was hoping for a CPM86 like image setup where one just
> gets a BIOS shaped up and somehow "splices" it into a CPM68K image.
>
>
>
> Enlarging the basic monitor I wrote (or even the much larger Motorola
> TUTOR code) to include sector read/writes is not hard/a problem, its
> splicing it on to a CPM68K OS core I'm trying to figure out.
>
>
>
> John
>
>
>
>
>
> John Monahan Ph.D
>
> mon...@vitasoft.org
>
>
>
> From: n8vem...@googlegroups.com [mailto:n8vem...@googlegroups.com] On
> Behalf Of Andrew Lynch
> Sent: Saturday, December 24, 2011 6:47 AM
> To: n8vem...@googlegroups.com
> Subject: RE: [N8VEM-S100:571] S-100 68K CPU board status
>
>
>
> Hi John! Pontus helped us with the initial S-100 68K CPU board. He ported
> TUTOR 1.3 and I think at least started some work on CP/M-68K.
>
>
>
> There are disk images in the CPM-68K folder under the S-100 68K CPU board
> directory.
>
>
>
> http://n8vem-sbc.pbworks.com/w/browse/#view=ViewFolder
> <http://n8vem-sbc.pbworks.com/w/browse/#view=ViewFolder¶m=S-100%2068K%20
> CPU> ¶m=S-100%2068K%20CPU
>
>
>
> Also there is a CP/M-68K source code archive here
>
>
>
> http://www.cpm.z80.de/source.html
>
>
>
> CP/M-68K
>
> NEW 08/17/2002 CP/M-68K 1.0x SOURCES
> <http://www.cpm.z80.de/download/cpm68k1.zip> : 4.46M A collection of C
> sources for CP/M-68K, apparently for versions 1.01, 1.02, 1.02a, and 1.03.
> A comment I recently received reveals:
>
> There are some BIOS/BDOS/CCP sources in here, but all seem to be revisions
> of version 1.1 of the OS.
> The bulk of the code looks like revisions of Alcyon C (compiler, assembler,
> linker and libraries). As far as I can see, this compiler emits 68K
> assembler and should run under CP/M-68K, REGULUS, VMS on a VAX and Unix on a
> PDP-11.
> Reading v101/doc/ and v102a/doc/ makes interesting trivia:
>
> 1. "The Pascal version of CP/M-68K..." (cpm0706.rno)
>
> 2. "Allows up to 8Gb of on-line disk(ette) storage" (pdd.rno)
>
> 3. "CP/M-68K Alpha Release III 2/15/84" (a3.rno)
>
> CP/M-68K 1.2 SOURCE <http://www.cpm.z80.de/download/cpm68k.zip> : 518K C
> source for CP/M-68K version 1.2.
>
> NEW 08/17/2002 CP/M-68K 1.2 SOURCES
> <http://www.cpm.z80.de/download/68_12src.zip> : 719K CP/M-68K 1.2 from
> 03/20/1983 (C sources). Archive contains 12 disk images in RAW format (IMG).
>
>
> NEW 08/17/2002 CP/M-68K programs
> <http://www.cpm.z80.de/download/68k_pgms.zip> : 157K Collection of programs
> and utilities for CP/M-68K (sources in C language).
>
>
>
>
>
>
>
> Unfortunately we never made it this far with the S-100 68K CPU board.
> However since you have one working if you want to take on this project all
> the pieces are available.
>
>
>
> Please let me know what I can do to help. Thanks and have a nice day!
>
> Andrew Lynch
>
>
>
> From: n8vem...@googlegroups.com [mailto:n8vem...@googlegroups.com] On
> Behalf Of John Monahan
> Sent: Friday, December 23, 2011 11:42 PM
> To: n8vem...@googlegroups.com
> Subject: RE: [N8VEM-S100:570] S-100 68K CPU board status
>
>
>
> Thanks John for blazing the trail. I guess I will wait until you get your
> ECB board BIOS done and have "spliced it into a working generic CPM68K
> version". I have not located the latter yet. I seem to remember Godbout had
> 8" disks for one on his FDC boards . Will start looking.
>
>
>
> On the Z80 interrupts, I actually went with a simple 8 bit IC/Switch
> approach for the Z80 on the PIC-RTC board.
>
> See here:-
>
> http://s100computers.com/My%20System%20Pages/PIC
> <http://s100computers.com/My%20System%20Pages/PIC&RTC%20Board/My%20PIC%20Boa
> rd.htm> &RTC%20Board/My%20PIC%20Board.htm
>
>
>
> Mode 2 is real nice on the Z80 once you get it working. The 8259A works
> real nice on all the Intel/AMD chips but I agree for the Motorola family
> it's far from optimum. The NS32202 (or AMD9519) are better more
> generalized choices for non-Intel CPU's.
>
>
>
> John
>
>
>
>
>
> John Monahan Ph.D
>
> mon...@vitasoft.org
>
>
>
> From: n8vem...@googlegroups.com [mailto:n8vem...@googlegroups.com] On
> Behalf Of John Coffman
> Sent: Friday, December 23, 2011 7:27 PM
> To: n8vem...@googlegroups.com
> Subject: Re: [N8VEM-S100:569] S-100 68K CPU board status
>
>
>
> I pointed you at the BIOS docs first, since the S-100 system is quite a bit
> different from the ECB board suite. Compatibility at the BIOS level would
> simplify the implementation of CP/M-68, since 16-bit (S-100) CP/M is going
> to be the same as 8-bit (baby ECB) CP/M.
>
> I would expect the underlying S-100 BIOS to be significantly different from
> the ECB M68k BIOS, since the underlying I/O hardware is totally different.
>
> The SBC-188 BIOS project proceeded rather briskly, as we had the IBM PC BIOS
> interface as our target.
>
> A single BIOS interface, perhaps using the baby M68K BIOS docs as a starting
> point, might allow the two projects to take advantage of one another.
>
> I am only familiar with CP/M on the Z80, where the "BIOS" level is
> implemented by calls through a vector table. That is effectively what the
> baby M68k BIOS is doing. All function call numbers are purely arbitrary.
> INT #8 is used, because one CP/M-68 implementation uses INT #2 for CP/M
> calls. I don't know if INT #8 is a good choice or not. I'm open to
> alternate suggestions.
>
>
>
> On 12/23/2011 06:44 PM, John Monahan wrote:
>
> Thanks John. Unfortunately I am a little confused where to go from there.
> I think I can write code to do console I/O and talk to the dual IDE board
> (with CF cards) but how do I splice this BIOS into the generic CPM68K. Where
> do you have that.
>
> I have not begun to work on CP/M-68. This BIOS should have the basic
> console I/O calls, and disk I/O calls needed for any OS. CP/M is probably
> the easiest to get running; but I am open to other OS suggestions.
>
>
>
> BTW could I run the system using an Intel 8259A is "read status mode" from a
> single interrupt.
>
> Working with the 8259A on a Z80, I totally gave up trying to vector
> interrupts in mode 2. That is why I moved to the NS32202 interrupt
> controller. On the MF/PIC board, with the "configuration register" this
> controller will cause the board to give interrupt responses compatible with
> the MC68000 family, Z80 (IM 2), and Z80 (IM 0). All 3 of these modes of
> operation have been tested.
>
> As you know the 8259A in it's native Intel mode puts the
> Int vector directly on the bus only after 3 INTA signals. However if we just
> trigger one the 68K Int pins we can just read the 8259A status and get
> appropriate S100 Int (1-7). Slower but at least generalized.
>
> The NS32202 PIC with the MF/PIC board circuitry does this all in hardware.
> It can be programmed to use 8 sequential Trap Vectors on the 68000, starting
> at an appropriate address.
>
> The NS32202 looks rather daunting to initialize. However, NS provides an
> initialization flowchart in the data sheet. That is why the initialization
> code, posted with the MF/PIC board docs, is specified in C. There are
> comments for the changes needed for the Z80.
>
> The S-100 system may use a different PIC. The differences should be handled
> in the BIOS; the OS need never know what PIC is actually in use, if any.
> Auto-vectoring operation ought to be a good choice with the 68000 also.
>
> --John
>
>
>
>
> John
>
>
> John Monahan Ph.D
> mon...@vitasoft.org
>
> -----Original Message-----
> From: n8vem...@googlegroups.com [mailto:n8vem...@googlegroups.com] On
> Behalf Of John Coffman
> Sent: Friday, December 23, 2011 4:44 PM
> To: n8vem...@googlegroups.com
> Subject: Re: [N8VEM-S100:566] S-100 68K CPU board status
>
> John,
>
> Start at http://n8vem-sbc.pbworks.com/
>
> Under the tab "Pages & Files", folders to traverse are:
> 1 Board Information
> 2 ECB Processor Boards
> 3 ECB Baby 68000
>
> direct link board description:
> http://n8vem-sbc.pbworks.com/w/file/48863865/baby%20M68K%20descr.txt
>
> 4 BIOS ROM images
>
> direct link BIOS docs:
> http://n8vem-sbc.pbworks.com/w/file/48864762/BIOS_doc.zip
>
> Bios 8 is the latest posted.
>
> --John
>
>
>
>
>
>
> On 12/23/2011 02:10 PM, John Monahan wrote:
>
> John could you direct me to the most relevant URL for the ECB baby
> M86K Thanks John
>
>
> John Monahan Ph.D
> mon...@vitasoft.org
>
> -----Original Message-----
> From: n8vem...@googlegroups.com [mailto:n8vem...@googlegroups.com]
> On Behalf Of John Coffman
> Sent: Friday, December 23, 2011 12:04 PM
> To: n8vem...@googlegroups.com
> Subject: Re: [N8VEM-S100:564] S-100 68K CPU board status
>
> John,
>
> The ECB baby M68k approach has been to write a BIOS that can load from
> CF card. The next round of the BIOS will have Floppy support (1.2Mb,
> 720Kb, 1.44Mb).
>
> I haven't tackled CP/M-68 yet; but I don't see it as very difficult to
> support above the BIOS level.
>
> Ultimately I'd like to see real CP/M diskettes supported: 128
> bytes/sector FM mode.
>
> --John
>
>
>
> On 12/23/2011 09:38 AM, John Monahan wrote:
>
> Hi Guy's, While waiting for a few components to arrive for the S-100
> VGA prototype board (very slow here this time of the year, very
> frustrating), I have been browsing the web looking for the easiest
> way in software to get CPM68K running with our 68K board, ZFDC board etc.
> Has anybody done this in the classical way, i.e. write a BIOS is
> assembler link it in with DR's code, place it on a 8" disk and get
> going from there. Most of what I see is in C code and/or requires a
>
> CPM68K OS already running to get going.
>
> John
>
>
> John Monahan Ph.D
> mon...@vitasoft.org
>
>
> -----Original Message-----
> From: n8vem...@googlegroups.com
> [mailto:n8vem...@googlegroups.com]
> On Behalf Of Andrew Lynch
> Sent: Friday, December 23, 2011 7:00 AM
> To: n8vem...@googlegroups.com
> Subject: [N8VEM-S100:562] S-100 68K CPU board status
>
> Hi Mike! We made some changes to the third prototype to add the TMI
> circuitry and remove some of the redundant debugging hardware.
> You'll notice the board is using the DIP-64 version of the CPU so it
> is back to closer to your MMU design.
>
> The PCB is taking forever to clean up the trace routing although
> recently it is showing signs of improvement. Slowly though...
>
> Please keep up with the MMU design because there is going to be an
> S-100 68K CPU board eventually!
>
> Thanks and have a nice day!
>
> Andrew Lynch
>
>
> [snip]
>
> PS. Sorry I've been slacking on the 68K work, guys, I've been just up
> to my neck, it's getting closer to the front burner however.
>
> Mike Sharkey
> http://8bit.zapto.org
>
>
>
>
>
>
>
>
>
>