20 August 2018, 15:57 | #41 |
son of 68k
Join Date: Nov 2007
Location: Lyon / France
Age: 51
Posts: 5,323
|
|
20 August 2018, 16:04 | #42 |
Join Date: Jul 2008
Location: Sweden
Posts: 2,269
|
No it's not a personal attack There's a complete desktop operating system written entirely in x86 machine language. You can deny it all you want, but it won't change anything
|
20 August 2018, 16:05 | #43 | |
Registered User
Join Date: Jul 2015
Location: The Netherlands
Posts: 3,408
|
Quote:
The full code (for the 32 bit version) can be found here: https://github.com/marcosptf/menueto...el-sources-32b I've never used this OS by the way, but I got interested by this thread and googled around a bit |
|
20 August 2018, 16:11 | #44 | ||
son of 68k
Join Date: Nov 2007
Location: Lyon / France
Age: 51
Posts: 5,323
|
Quote:
(And perhaps at the list of supported machines as well.) Quote:
|
||
20 August 2018, 16:20 | #45 |
Defendit numerus
Join Date: Mar 2017
Location: Crossing the Rubicon
Age: 53
Posts: 4,468
|
Maybe you mean ipl=6 is the same as ipl=7?
This anyway is unavoidable if you want a NMI... However what makes me puzzled is the lack of tst (ofs,pc) when btst #x,(ofs,pc)* exists. Ok ok in 020+ is implemented but WHY not in 000? *Some assembler wrongly complain that is only 020+.. |
20 August 2018, 16:22 | #46 | |
Join Date: Jul 2008
Location: Sweden
Posts: 2,269
|
Quote:
Sure they do, using system call 64: http://www.menuetos.net/syscall.txt |
|
20 August 2018, 16:32 | #47 | |
son of 68k
Join Date: Nov 2007
Location: Lyon / France
Age: 51
Posts: 5,323
|
Quote:
But isn't it that ipl=6 allows both 6 & 7 (anything >=6) but ipl=7 only 7, while ipl=0 allows >=0 but there is no level 0 so it's the same as 1 ? Perhaps because TST was implemented with similar hardware as CLR, NOT, NEG, NEGX, which were all read-modify-write (including, wrongly, CLR). |
|
20 August 2018, 16:32 | #48 | ||
son of 68k
Join Date: Nov 2007
Location: Lyon / France
Age: 51
Posts: 5,323
|
Quote:
EDIT: they say exactly : Quote:
Last edited by meynaf; 20 August 2018 at 16:38. |
||
20 August 2018, 16:46 | #49 |
Join Date: Jul 2008
Location: Sweden
Posts: 2,269
|
That interview is 9 years old. Basic memory allocation means just extending the heap, but convenient memory allocation in malloc-style is also available (even if it's typically not the job of the kernel), it says so right there in the link I posted, under system call 64.
|
20 August 2018, 16:47 | #50 | ||
Defendit numerus
Join Date: Mar 2017
Location: Crossing the Rubicon
Age: 53
Posts: 4,468
|
Quote:
ipl=0 allows >0, so every IRQ ipl=1 allows >1, and so on Quote:
(if same die part is used for this operation is sure a bad implementation, but ehi, is a 1979 project with limited transistor usable ) I must always remember not to use it |
||
20 August 2018, 16:53 | #51 | |
son of 68k
Join Date: Nov 2007
Location: Lyon / France
Age: 51
Posts: 5,323
|
Quote:
Nevertheless if you look at that list, you'll see it is some vm, maybe some framework, but certainly not a fully featured operating system. That thing is like building a tower in a swamp. A marvel of engineering maybe, but still pointless and can only end up as touristic curiosity. So what ? Some folks managed to do something and suddenly it becomes easy ? These people have struggled 10-15 years to do something that remotely looks like an OS. Now please stop that menuetOS nonsense. What they did does not mean in any manner that x86 is practical to use for this, just that it is possible. And it is possible for just every available cpu. |
|
20 August 2018, 17:04 | #52 | ||
son of 68k
Join Date: Nov 2007
Location: Lyon / France
Age: 51
Posts: 5,323
|
Quote:
But then ipl=7 would mask level 7 but they just prevented it ? Quote:
Another reason for me to prefer coding on 68030 |
||
20 August 2018, 17:58 | #53 | ||
Defendit numerus
Join Date: Mar 2017
Location: Crossing the Rubicon
Age: 53
Posts: 4,468
|
Quote:
Quote:
But admissible to allow an NMI to always be accepted. |
||
20 August 2018, 22:47 | #54 |
Banned
Join Date: Sep 2016
Location: UK
Posts: 2,917
|
My only issue with the 68000 CPU is that the bus takes between a week and a month to fetch a memory address. Other CPUs had better bus interfaces (even 8 bit ones!!) so they could get better instruction throughput. The Amiga had reasonably fast ram but the 68000 never took advantage of that.
Things got a little better on the 68030.. it only takes a day to get data delivered from RAM and they finally fixed it on the 040. Although the ARM has its flaws its memory throughput never fails to impress me. EDIT: And the 6800 SYNC bus interface was a giant WTF. You have to wait until xmas for your data. |
20 August 2018, 23:40 | #55 |
Registered User
Join Date: Jul 2015
Location: The Netherlands
Posts: 3,408
|
68000 memory access is actually no slower than the 8086. For block moving, it’s actually quite a bit faster. For reference, the 68000 also outclasses the 6502, 8080, Z80 and 6800 for memory speed
The ARM is indeed much faster, but well, what do you expect of a CPU design that’s 8 years newer (it’s from the same year as the 68030). |
21 August 2018, 00:41 | #56 | |
Banned
Join Date: Sep 2016
Location: UK
Posts: 2,917
|
68k details
Quote:
Not the 6502 it doesn’t. BBC B gets 0.5 mips at 2mhz. Same as the Amiga at 8mhz |
|
21 August 2018, 01:26 | #57 | |
Registered User
Join Date: Jul 2015
Location: The Netherlands
Posts: 3,408
|
It most certainly does. A 1MHz 6502 manages to copy about 2000b/50Hz frame, which is about 4000b/frame for a 2Mhz one. A 7Mhz 68000, as used in the Amiga, manages closer to 17000b/frame.
Which means the 68000 has faster memory access than the 6502 - even if the 68000 where to be slowed down to 2MHz, it would still win for memory access speed. Quote:
2) even if it where true, the 68000 instruction set and 6502 instruction set are extremely different. Merely comparing intstructions per second for two architectures that are so different is just not going to work. I’ll give just two examples: 1) a simple move.w d(an),d0 - a very common operation - takes just 12 cycles on 68000. The equivalent 6502 code (something like ldx #2; lda address,x; tay; inx; lda address,x) will take 14 cycles. Which is slower even clock for clock, let alone if it actually ran at 2Mhz vs 7Mhz. 2) divu or mulu are so much faster than even table based 6502 versions it’s not even funny. There are plenty more examples here. Generally, the more you want your code to actually do, the bigger the 68000 advantage becomes. |
|
21 August 2018, 08:38 | #58 |
Banned
Join Date: Sep 2016
Location: UK
Posts: 2,917
|
Yes. I give you it’s an apples and oranges performance comparison. Point remains... a plain 68000 takes 4 cycles to access the bus and the 6502 takes 2 base cycles. Plus the BBC makes its ram work on both edges of the clock.
Sure the 6502 only accesses 8 bits at a time and yes the 68000 is a better CPU. But it’s ram performance is awful. |
21 August 2018, 08:53 | #59 | ||
son of 68k
Join Date: Nov 2007
Location: Lyon / France
Age: 51
Posts: 5,323
|
Quote:
And yet we still see people comparing very small code snippets. This pisses me off. Quote:
Compare that to todays architectures experiencing a cache miss, and you'll see who's bad in terms of ram performance |
||
21 August 2018, 09:06 | #60 | ||
Banned
Join Date: Sep 2016
Location: UK
Posts: 2,917
|
68k details
Quote:
Quote:
Rubbish! A 68000 needs 4x 140ns per ram access. The first access on SDRAM/DDRx is 70-80ns and it’s 10-30ns to pull each sequential memory location thereafter depending on the memory type. You don’t know what you are talking about. I’ve built controllers for SDRAM and DDR. Plus a modem CPU pulls 128 bits per access. |
||
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Any software to see technical OS details? | necronom | support.Other | 3 | 02 April 2016 12:05 |
2-star rarity details? | stet | HOL suggestions and feedback | 0 | 14 December 2015 05:24 |
EAB's FTP details... | Basquemactee1 | project.Amiga File Server | 2 | 30 October 2013 22:54 |
req details for sdl | turrican3 | request.Other | 0 | 20 April 2008 22:06 |
Forum Details | BippyM | request.Other | 0 | 15 May 2006 00:56 |
|
|