English Amiga Board


Go Back   English Amiga Board > Coders > Coders. General

 
 
Thread Tools
Old 12 January 2015, 11:49   #1
xArtx
Registered User
 
Join Date: Jun 2013
Location: Australia
Posts: 685
CD32 debug with NComm

Hi Guys,
This might be a bit of a long shot, but I’ve wondered if anyone has made a CD32
bootable NComm CD with script to open the CD32 serial port.
With it’s limited options as stock I thought it would be a useful debug console for another programming Amiga,
given you could switch the 1084 between start & composite of the CD32.

Is anyone using a CD32 like this?
Cheers, Art.
xArtx is offline  
Old 12 January 2015, 18:24   #2
Twiggy
\m/
 
Twiggy's Avatar
 
Join Date: Nov 2008
Location: Devon, U.K.
Posts: 574
Good idea. The Weird Science Network CD has NComm on it, that's nearest I do to that.

I guess it wouldn't be too difficult to create a Workbench + NComm CD with a nice S:Startup-sequence to boot straight into it, made bootable using MakeCD and whatnot.
Twiggy is offline  
Old 13 January 2015, 01:32   #3
xArtx
Registered User
 
Join Date: Jun 2013
Location: Australia
Posts: 685
Thanks, I did have the Network CD in the day... slow way to move data!

I think you also need a script for NComm to start it in a terminal configuration,
and also learned you need a level converter for the CD32 for RS232 levels.
I suppose I’d better go figure out how to make a CD32 compilation.
xArtx is offline  
Old 14 January 2015, 15:26   #4
FOL
PSPUAE DEV
 
FOL's Avatar
 
Join Date: Nov 2006
Location: Wales / UK
Age: 45
Posts: 6,079
Send a message via MSN to FOL
Quote:
Originally Posted by xArtx View Post
I suppose I’d better go figure out how to make a CD32 compilation.
Easy part, .
FOL is offline  
Old 14 January 2015, 16:37   #5
xArtx
Registered User
 
Join Date: Jun 2013
Location: Australia
Posts: 685
I got the Weird Science Network 2 CD from a shady corner of the internet
It looks like it opens the serial port while it’s booting for the program that waits for the other Amiga.

So when it’s loaded and you open NComm, it can’t open serial device :O
IIRC if I had a keyboard I could break the startup, but no such luck!

The hard part after a quick read of the CD32 CD guides is how to get the ISO file from
the emulated Amiga (UAE) to Windows for burning?
o good having a file on an Amiga HDD file that Windows can’t see.
What is the solution for that?
xArtx is offline  
Old 14 January 2015, 20:22   #6
Twiggy
\m/
 
Twiggy's Avatar
 
Join Date: Nov 2008
Location: Devon, U.K.
Posts: 574
If you have a Workbench with Ncomm installed, (say, in WinUAE on a hdf or whatever) you could change the S:startup-sequence to boot straight into NComm (maybe with WB in the background), then install MakeCD (I think it's called that), launch it, create an .iso of the whole workbench (requires the file cd32.tm), copy the iso outside of the hdf (mount some other directory in WinUAE and copy it there), then burn the iso using your favourite iso burning software.

Something like that? I think I'll give that a bash myself when I get a moment.
Twiggy is offline  
Old 16 January 2015, 16:54   #7
xArtx
Registered User
 
Join Date: Jun 2013
Location: Australia
Posts: 685
I had some luck
[ Show youtube player ]
xArtx is offline  
Old 16 January 2015, 17:42   #8
Leffmann
 
Join Date: Jul 2008
Location: Sweden
Posts: 2,269
That's pretty neat. You could also use the setup as a limited CD32 development kit, putting all the big static files and music tracks on the disc first, together with NComm, and transfer the program files as development goes on.
Leffmann is offline  
Old 17 January 2015, 06:57   #9
xArtx
Registered User
 
Join Date: Jun 2013
Location: Australia
Posts: 685
Yes so long as you can run it from RAM disk, which is where I made NComm default Upload/Download dirs.
I don’t know if NComm will do file transfer without a modem protocol.
I can’t say I’ve tried.
xArtx is offline  
Old 18 January 2015, 15:31   #10
Hewitson
Registered User
 
Hewitson's Avatar
 
Join Date: Feb 2007
Location: Melbourne, Australia
Age: 41
Posts: 3,773
I would disable the LoadWB in the startup-sequence. You'll have a faster startup and more memory without it.
Hewitson is offline  
Old 18 January 2015, 18:48   #11
Cobe
Registered User
 
Join Date: Jan 2014
Location: Belgrade / Serbia
Age: 41
Posts: 1,008
Great idea. Have you tried file transfer? Is it possible to transfer from CD32 to Amiga? I'm thinking it could be used to dump NVRAM. And what is "level converter for the CD32 for RS232 levels"? Or precisely what cables are needed?
Cobe is offline  
Old 19 January 2015, 11:15   #12
xArtx
Registered User
 
Join Date: Jun 2013
Location: Australia
Posts: 685
CD32 outputs serial in every respect except the level is 5 Volts and needs a MAX232 chip
or similar to make it safe to connect to any other Amiga.
A lot of laptops and mobile stuff uses 5 Volt levels that could be directly connected.

I still haven’t found any CDs (only Kodak work for me)... to be able to try on the real machine.

I don’t know that you can see NVRAM through workbench, or how to access it.

Hewitson,
I initially tried it with no LoadWB, but then there was a blank workbench screen with titlebar over top of the NComm window,
meaning you’d have to pull down the WB window on the CD32.
At the moment to use it as a debug console for something else, you don’t even need the
controller connected to the CD32 since all configuration is already set.

A neat trick might be to swap configurations if the CD32 is booted while holding the red button...
by setting the path to RAM disc, and writing the config in there that you want.
xArtx is offline  
Old 19 January 2015, 11:34   #13
Cobe
Registered User
 
Join Date: Jan 2014
Location: Belgrade / Serbia
Age: 41
Posts: 1,008
You can dump/restore whole nvram or just one saved game with nvram tools
http://aminet.net/package/util/cli/NVRAM_Tools
Cobe is offline  
Old 19 January 2015, 11:46   #14
xArtx
Registered User
 
Join Date: Jun 2013
Location: Australia
Posts: 685
Nice.. I wonder if it can be addressed out of range because nowadays you could replace
the 24LC08 with 24LC256. It’s actually a common EEPROM chip, and not RAM at all.
Only newly written stuff could take advantage of it though
xArtx is offline  
Old 19 January 2015, 12:01   #15
Cobe
Registered User
 
Join Date: Jan 2014
Location: Belgrade / Serbia
Age: 41
Posts: 1,008
Quote:
Originally Posted by xArtx View Post
Only newly written stuff could take advantage of it though
Earok recently wrote util to save file in nvram, I guess he could adopt it for 32k "nvram" eeprom if it can be changed so many ports of games could be done with proper saving option.
Cobe is offline  
Old 20 January 2015, 07:33   #16
Cobe
Registered User
 
Join Date: Jan 2014
Location: Belgrade / Serbia
Age: 41
Posts: 1,008
I'm not that into hardware nor coding but if I get it right, in plain words, the question would be if Akiko(if I suppose right it's responsible for nvram) will accept 24LC256 and let the coding be performed out of range of 1k?

I guess these would be our suspects:
Attached Thumbnails
Click image for larger version

Name:	nvram2.jpg
Views:	234
Size:	226.4 KB
ID:	42932   Click image for larger version

Name:	nvram3.jpg
Views:	230
Size:	74.1 KB
ID:	42933   Click image for larger version

Name:	nvram.jpg
Views:	240
Size:	205.6 KB
ID:	42934  
Cobe is offline  
Old 20 January 2015, 08:11   #17
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,576
Akiko does not care, it is fully CPU controlled I2C bus, Akiko registers have 4 bits for EEPROM control (I2C), data and clock with direction bits.

KS ROM has been hardcoded for 1k chip, but you should be able to access larger chips with custom routines.
Toni Wilen is online now  
Old 20 January 2015, 09:37   #18
Cobe
Registered User
 
Join Date: Jan 2014
Location: Belgrade / Serbia
Age: 41
Posts: 1,008
Thanks Toni
Cobe is offline  
Old 20 January 2015, 12:32   #19
xArtx
Registered User
 
Join Date: Jun 2013
Location: Australia
Posts: 685
You would need to jump storage pages with the 24LCx chip over a certain size,
but if you have the 12C bus then it would be fine. Just something to remember if anyone comes looking in future.
xArtx is offline  
Old 20 January 2015, 12:45   #20
xArtx
Registered User
 
Join Date: Jun 2013
Location: Australia
Posts: 685
By the way, NComm was given away by it’s author two years after the last version was released, so if anyone wants it let me know.
I used the noreset command as well because when it loads you don’t need the CD in the machine again.
xArtx is offline  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
CD32 Debug Board alanbb9 MarketPlace 25 23 June 2022 19:01
telser.device - not working from NComm or Terminus Kernel support.Apps 2 24 November 2014 11:45
CD32 toolkit games work in debug but not test amigapd support.Other 0 04 February 2011 13:06
Ncomm errors vertigo support.Apps 6 11 November 2003 23:15
ncomm & XPR Library vertigo request.Apps 4 09 November 2003 13:22

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 11:46.

Top

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Page generated in 0.18194 seconds with 14 queries