Using the SBC68K from a Macintosh
Setup
- Connect Mac modem port to SBC68K terminal port.
- Connect power supply to SBC68K (black 5-pin).
- If disk is to be used
- connect disk power cord to other SBC68K (white 4-pin);
- connect disk control lines to SBC68K (ribbon cable to DISK connector).
Communication
- You must have done the Setup above.
- Launch CSurfer.
- Under Settings/Connection set baud to 19200.
- Choose File/Open Connection.
- Press SBC reset (red button). You should see the TUTOR banner.
File upload using TUTOR
- You must have created a file of S records (e.g. using gcc) and done the Setup and Communications above.
- Type LO1 .
- Under Settings/File Transfer set delay per character to 1.
- Choose File/Send File.
- If TUTOR doesn't respond after the file is sent, press RETURN to get a TUTOR prompt.
- TUTOR commands must be UPPER CASE.
File upload using Sloader
- Load SloaderXXXX code using "File upload using TUTOR" mechanism above.
(Once Sloader is in memory you need not load it again unless power to the board is lost or memory is written over.)
A copy of SLoader5000 can be found in CSServer/Pub
- Under Settings/File Transfer set delay per character to 0. (Once Sloader is in memory you can leave the delay set to 0.)
- Type GO XXXX where XXXX is the address of SloaderXXXX. Sloader should prompt you to send the file.
- Choose File/Send File.
- At the end of the transfer Sloader should print "Done." and return to TUTOR.
Miscellany
- The TUTOR command HELP provides a list of commands.
- The procedure on p3-30 of the SBC68K User's Manual is overkill.
You must set the stack address at least once (if you don't overuse it you don't need to do it again). It is easiest to set it from within a program.
You don't need to set the value of the PC - the command GO xxxx will do it.
- Setting a breakpoint at the first instruction of your program usually does not work. You should set it at the second instruction instead.
- Don't single-step into a TUTOR trap routine. Instead set a breakpoint after the trap and use GO.
- If a program gets stuck in a loop, first try using the black button to escape. This may reveal the value of the PC where the program is stuck. If that fails to work, use the red reset button.
- RAM is 64K (you can use from $900 to $10000).
[SSU Home Page]
[SSU CS Department]
[ CS Dept webmaster ]
08/12/99.