Welcome, Guest. Please login or register.

Author Topic: Nueron / NuOS (ColdFire based project)  (Read 12694 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline Karlos

  • Sockologist
  • Global Moderator
  • Hero Member
  • *****
  • Join Date: Nov 2002
  • Posts: 16879
  • Country: gb
  • Thanked: 5 times
    • Show only replies by Karlos
Re: Nueron / NuOS (ColdFire based project)
« Reply #29 from previous page: January 22, 2004, 01:56:46 PM »
Looks cool :-D

This guy and Oli HD should get in touch!
int p; // A
 

Offline bloodline

  • Master Sock Abuser
  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 12113
    • Show only replies by bloodline
    • http://www.troubled-mind.com
Re: Nueron / NuOS (ColdFire based project)
« Reply #30 on: January 22, 2004, 02:03:28 PM »
Quote

lempkee wrote:
neuron:its really good to see ya around ;=) , i for one always wonder what happens to the developers around..

anyway i do work part time on games , developing and yes its abit crap due to delays and stuff but really i cant say its a bad thing + its on amiga so heh we dont expect to be millionaires or anything.

btw i checked all the designs on the website of yours (neuos) looks quite impressive and i must say i am getting more and more interested, though ifit wont run aos ..well u know...once a fanatic :)



Would you have a problem with it if I was running AROS, and as such was able to run all you existing OS legal Amiga software?

Or does it HAVE to be AmigaOS for you?

Offline Crumpster

  • Full Member
  • ***
  • Join Date: Mar 2002
  • Posts: 215
  • Country: gb
    • Show only replies by Crumpster
Re: Nueron / NuOS (ColdFire based project)
« Reply #31 on: January 22, 2004, 02:21:13 PM »
@ Neuron

WOW!! It's looking good, very good!!

Have you done hardware design before or is this a 1st attempt kind of thing??

You should definately get in touch with Oli HD over at the Amiga Coldfire Project

Cheers,
Graham C
A1-XE - G4 800MHz, 1GB RAM, 80GB HDD, Radeon 9250, OS 4.1
A1200T - PPC603 240MHz / 68040 50MHz, 128MB RAM, Mediator, OS 3.9 / 4.1
A1200 (No. 2) - M-TEC 68030 50MHz, 4GB CF, KS 3.0, OS 3.0
A500 - ACA500 with ACA1232.
CDTV - in Progress: SCSI, 9 pin joy/mouse connectors, KS switcher.

Non-CBM - Atari STe, Atari Falcon, Apple ][e, ZX Spectrum, CPC6128.
Gone but not forgotten (and slowly getting them back): CPC464, C64, Vic-20.

I may have a problem
 

Offline DaNi

  • Sr. Member
  • ****
  • Join Date: Oct 2003
  • Posts: 281
    • Show only replies by DaNi
    • http://morphos.blog.com.es/
Re: Nueron / NuOS (ColdFire based project)
« Reply #32 on: January 22, 2004, 02:22:43 PM »
WOW! is a great project! all new boards and OS`s are welcome =) but for compatibility, make your os compatible OS 3.9 (like the morphos for example) and if you can emulata aga, cool!!! jejeje

Very well work =)

PD: A coldifre for my CD32! =)
EFIKA 5K2 PowerPC G2 400Mhz, MorphOS 2.7, 128MB 266MHz DDR RAM, FSB 133MHz, 500GB HDD, Radeon 9200 PRO 128MB, USB HUB x8.
 

Offline Oli_hd

  • Hero Member
  • *****
  • Join Date: Apr 2002
  • Posts: 912
    • Show only replies by Oli_hd
Re: Nueron / NuOS (ColdFire based project)
« Reply #33 on: January 22, 2004, 02:54:36 PM »
Hi,

I've known about the project for some time now (I joined the news group on the 27th May 2002) and did e-mail him a while ago about the V4 and compiling the 68K module with his software, what interests me is the Amiga Coldfire assembler software however it would be great if he did get a full motherboard out. (It would give a better chance of making the Coldfire route the most popular)
The boards looks very very professional and lots of very cool features.. and the dual V4 220Mhz version must be so fast.

I wish Stephen all the best and am keeping an eye on the OS, specially if it supports multi CPU environments.

PS: http://groups.yahoo.com/group/geckocomputerproject/

Oliver Hannaford-Day
 

Offline Framiga

  • Hero Member
  • *****
  • Join Date: May 2003
  • Posts: 4096
    • Show only replies by Framiga
Re: Nueron / NuOS (ColdFire based project)
« Reply #34 on: January 22, 2004, 02:54:57 PM »
Hi nueron,

looking more closer your project (pcb design-layout) make me think, how "ancient" are our boards . . .and i mean ALL our boards :-)

I wish all the best, for people like you (and Oliver too)

Ciao

 

Offline Karlos

  • Sockologist
  • Global Moderator
  • Hero Member
  • *****
  • Join Date: Nov 2002
  • Posts: 16879
  • Country: gb
  • Thanked: 5 times
    • Show only replies by Karlos
Re: Nueron / NuOS (ColdFire based project)
« Reply #35 on: January 22, 2004, 03:47:42 PM »
@ Coldfire experts...

If I am not mistaken, the coldfire processor misses some instructions / addressing modes that impact on 680x0 compatibility.

I understand that motorola have a code base for 'emulating' the missing functionaility that operates through a trapping mechanism, but I expect that heavy use of this could cripple performance.

What occured to me was the idea of using a JIT mechanism on a coldfire to emulate the 680x0. Before anybody suggests I am crazy, I literally mean to process the code and 'expand inline' anything that would need emulation on coldfire. For the most part, the emulation would not need to modify the original 680x0 code.

It transpires this idea isnt as stupid (or as new) as it might sound. HP already managed something similar with their PA-8000 Dynamo system which even manages to run PA-8000 code on the PA-8000 faster than running the same code natively (thanks to intelligent optimisation techniques).

I'm sure it would not be impossible to create a similar engine to allow 680x0 code to run on the coldfire without relying on trapping unimplemented code every time...
int p; // A
 

Offline MarkTime

  • Hero Member
  • *****
  • Join Date: Jun 2002
  • Posts: 901
    • Show only replies by MarkTime
    • http://www.tanooshka.com
Re: Nueron / NuOS (ColdFire based project)
« Reply #36 on: January 22, 2004, 04:03:06 PM »
Did you ever see that show "Galaxy Quest" and the woman goes: my job is to repeat what the computer says.

That's so funny.

Anyway, the reason you get a positive response, is because its impolite to say negative things.

Now, my job:

I would rather poke a fork in my eye than buy a 200mhz coldfire.  By modern standards its slow, dog slow.
 

Offline downix

  • Hero Member
  • *****
  • Join Date: Jan 2003
  • Posts: 1587
    • Show only replies by downix
    • http://www.applemonthly.com
Re: Nueron / NuOS (ColdFire based project)
« Reply #37 on: January 22, 2004, 04:14:51 PM »
@karlos

95% of the changes from Coldfire to 68k would be invisible to applications, but on-target for the OS.  The Coldfire handles supervisor-mode differently, its memory systems slightly different, etc.

And the 5% difference is actually less than the difference in instructions between the 68030 and 68060.  
Try blazedmongers new Free Universal Computer kit, available with the GUI toolkit Your Own Universe, the popular IT edition, Extremely Reliable System for embedded work, Enhanced Database development and Wide Area Development system for telecommuting.
 

Offline Oli_hd

  • Hero Member
  • *****
  • Join Date: Apr 2002
  • Posts: 912
    • Show only replies by Oli_hd
Re: Nueron / NuOS (ColdFire based project)
« Reply #38 on: January 22, 2004, 04:18:50 PM »
Hi,

Quote
I would rather poke a fork in my eye than buy a 200mhz coldfire. By modern standards its slow, dog slow.


Yes but its a good speed for an Amiga and thats what counts, it  really depends what you want out of an Amiga, do you want a system to compete with PC's and Mac's, trying to be the number one platform again or do you just want a computer you like using and that does the job.

I personally doubt if Amiga will ever be number one again but I think its great fun to use and should continue to be developed but just not with Mhz and MIPS in mind but in how much fun and how easy it is to use.
If you want top Mhz go for a PC, if you want a real computer go for an Amiga  ;-)

PS: This is my personal view and may not reflect the views of the Amiga community or the world.  :-D
 

Offline Bobsonsirjonny

  • Hero Member
  • *****
  • Join Date: Feb 2002
  • Posts: 2070
    • Show only replies by Bobsonsirjonny
    • http://amigadevbox.happybiscuit.com/
Re: Nueron / NuOS (ColdFire based project)
« Reply #39 on: January 22, 2004, 04:30:33 PM »
Quote

MarkTime wrote:
Did you ever see that show "Galaxy Quest" and the woman goes: my job is to repeat what the computer says.

That's so funny.

Anyway, the reason you get a positive response, is because its impolite to say negative things.

Now, my job:

I would rather poke a fork in my eye than buy a 200mhz coldfire.  By modern standards its slow, dog slow.



Well - 200mhz is slow. But its a tablet PC - running a new OS, custom designed for it - all tied in one neat package - thus using overheads more efficiently, with little heat and power consumption.

 Its a great concept. While I dont see the point in an atx desktop system - this Tablet idea really does it for me. It would be perfect to take to say.. AUSTRALIA!!!

Its a good format - and really I do want one. When I go to Aus Im gonna take a digital camera - I wanna be able to back the images up - this tablet would be perfect for that.
The REAL BOBSON - accept no immitations!

8 Bloody Tickets!
http://amigadevbox.happybiscuit.com/

http://www.killingwithkindness.com/

Some of my drawings
...
 

Offline Karlos

  • Sockologist
  • Global Moderator
  • Hero Member
  • *****
  • Join Date: Nov 2002
  • Posts: 16879
  • Country: gb
  • Thanked: 5 times
    • Show only replies by Karlos
Re: Nueron / NuOS (ColdFire based project)
« Reply #40 on: January 22, 2004, 07:18:34 PM »
@downix

Really? I was under the impression that a fair few things were missing, such as scaled indexed addressing modes, word addition to address registers and so on. My understanding was that the software from motorola used a mechanism similar to that used by the 68040FPSP to emulate missing functionality.

In any event, to the nay sayers I'd say a coldfire powered amiga would kick bottom so nerr :-P
int p; // A
 

Offline downix

  • Hero Member
  • *****
  • Join Date: Jan 2003
  • Posts: 1587
    • Show only replies by downix
    • http://www.applemonthly.com
Re: Nueron / NuOS (ColdFire based project)
« Reply #41 on: January 22, 2004, 08:12:03 PM »
@Karlos

Everything you've mentioned relates to how the OS works on the chip, not the software.  The software doesn't know nor care of the addressing modes available, it cares about getting data to or from an address and the OS handles that.

So, in short, AOS would need to be rewritten, but the software wouldn't for the most part.
Try blazedmongers new Free Universal Computer kit, available with the GUI toolkit Your Own Universe, the popular IT edition, Extremely Reliable System for embedded work, Enhanced Database development and Wide Area Development system for telecommuting.
 

Offline Karlos

  • Sockologist
  • Global Moderator
  • Hero Member
  • *****
  • Join Date: Nov 2002
  • Posts: 16879
  • Country: gb
  • Thanked: 5 times
    • Show only replies by Karlos
Re: Nueron / NuOS (ColdFire based project)
« Reply #42 on: January 22, 2004, 08:31:30 PM »
@Downix,

I'm not disagreeing with you - naturally the coldfire has its own supervisor architecture hence the OS would need extensive reworking.

Quote
The software doesn't know nor care of the addressing modes available, it cares about getting data to or from an address and the OS handles that.


Granted the physical address accessed is ultimately (thanks to MMU hardware) not necessarily the logical one generated by the application code, but I fail to see where the OS intervenes in for example

move.l (a0, d0.w*4), d1

or

add.w #2, a1

for instance. If, as I seem to recall (but may be wrong) these operations are not supported in the coldfire (along with others), some emulation mechanism must kick in to do the work.

Given I've seen plenty of d8(An, Xn*SCALE) modes in 020+ application code and add.w #, An in application code. If such operations have to be emulated by trapping or whatever, appication code using them will suffer.

Thats why I was thinking of some kind of JIT code translator that could for example convert

move.l (a0, d0.l*4), d1

into something like

movem d0/a0, -(a7)
lsl.l #2, d0
add.l d0, a0
move.l (a0), d1
movem (a7)+, d0/a0

on the fly and cache the cache the result (like any regular JIT). This has got to be way faster than invoking some kind of trap to emulate the missing address mode.
int p; // A
 

Offline nueronTopic starter

  • Newbie
  • *
  • Join Date: Jul 2003
  • Posts: 22
  • Country: 00
    • Show only replies by nueron
    • http://www.austexsoftware.com
Re: Nueron / NuOS (ColdFire based project)
« Reply #43 on: January 23, 2004, 12:55:08 AM »
@karlos

I agree with you regarding JIT. I have thought about doing something along those lines.

ColdFire does support address register indirect with scaled index and 8-bit displacement.
The limits are that the index register only supports longword and that the scale can be
1, 2 or 4 (8 only supported if you have an FPU).

move.l   (a0,d0.w*4),d1 ....... illegal
add.w   #4,a1 ................. illegal

move.l   (a0,d0.l*4),d1 ....... ok


It took a little while for me to modify my assembler habits, but I'm used to it now. With
V4 they added byte and word extensions back to the cmp instruction and added a few more
such as:-
           
mov3q.l   #5,(100,a0,d0.l*4) .. move 5 longword extended to destination
............................. length of operand + extension = 32bits
               
mvs.b   (a0),d0 ............... move byte , sign extended to long
mvz.b   (a0),d0 ............... move byte , zero extended to
............................. mvs.w and mvz.w also supported

sats   d0 ..................... signed saturate, sets max/min(overflow)
intouch   (a0) ................ prefetch instructions  into cache


Motorola have even added some interesting ones to the V2 core (MCF5282):-


bitrev   d0 ................... bit reverse (31..0)<->(0..31)
byterev   d0 .................. byte reverse (endian modify)
ff1   d0 ...................... find first one in register
strldsr   #val ................ push sr to stack, then load new sr


Regards,
Stephen.
 

Offline Karlos

  • Sockologist
  • Global Moderator
  • Hero Member
  • *****
  • Join Date: Nov 2002
  • Posts: 16879
  • Country: gb
  • Thanked: 5 times
    • Show only replies by Karlos
Re: Nueron / NuOS (ColdFire based project)
« Reply #44 on: January 23, 2004, 01:46:25 AM »
@neuron

Unlike emulation of alien CPUs. such a 680x0->Coldfire JIT mechanism could be optimised in such a fashion as to leave big chunks of 680x0 code that is 100% coldfire compatible alone and avoid processing it.

However, when you consider HP's Dynamo it even begins to make sense to process it all. They get speed increases for code as a result of cacheing a linear sequence of instructions that represent a path through a complex set of conditions or a loop (its even more surprising when you consider dynamo is actually an interpreter 99% of the time and JIT converts hotspot areas only).

I've often wondered if such a JIT also makes sense on 68040/60 for running code that uses missing instructions emulated by the respective 680x0.library. Oxypatcher etc. is almost like this, but IIRC it patches the unimplemented instructions with a jump to code to emulate the instruction. Not as efficient as a genuine JIT, but much less work too. Its another alternative for running full 680x0 code on coldfire (maybe motorola's software does this ?).
int p; // A