English Amiga Board


Go Back   English Amiga Board > Coders > Coders. Asm / Hardware

 
 
Thread Tools
Old 02 September 2018, 21:26   #301
roondar
Registered User

 
Join Date: Jul 2015
Location: The Netherlands
Posts: 1,879
Quote:
Originally Posted by Megol View Post
Intel iRMX was released in 1980. Then we have other released soon after the IBM PC release: Xenix and QNX.

Was actually thinking of Xenix but that released later though on a non-IBM system.

There were a lot of multitasking systems and extenders for PC systems including DESQview (and later DESQview X), Topview, as well as DOS compatible systems with multitasking (intended for multi-users actually) that a quick search says was Concurrent DOS. I remember at least another system but can't remember the name, searching doesn't help either.
I've checked the iRMX page on Wikipedia and this is pretty impressive. Released in 1980 for the 8088 and 8086.. The features are really cool:

Quote:
Originally Posted by iRMX Wikipedia
iRMX supports multiple processes (known as jobs in RMX parlance) and multiple threads are supported within each process (task). In addition, interrupt handlers and threads exist to run in response to hardware interrupts. Thus, iRMX is a multi-processing, multi-threaded, pre-emptive, real-time operating system (RTOS).
Thanks for the info, I like knowing that kind of stuff
roondar is online now  
Old 02 September 2018, 21:49   #302
Bruce Abbott
Registered User

Bruce Abbott's Avatar
 
Join Date: Mar 2018
Location: Hastings, New Zealand
Posts: 321
Quote:
Originally Posted by plasmab View Post
Is there an auto code beatifier/formatter for 68k.
68k code doesn't need beatifying - it's naturally beatiful!
Bruce Abbott is offline  
Old 02 September 2018, 22:01   #303
plasmab
Banned
plasmab's Avatar
 
Join Date: Sep 2016
Location: UK
Posts: 2,917
Quote:
Originally Posted by Bruce Abbott View Post
68k code doesn't need beatifying - it's naturally beatiful!
Sigh. No software professionals here i guess.
plasmab is offline  
Old 03 September 2018, 00:06   #304
roondar
Registered User

 
Join Date: Jul 2015
Location: The Netherlands
Posts: 1,879
Quote:
Originally Posted by plasmab View Post
Sigh. No software professionals here i guess.

Plenty of them I think. I personally don't need a 68k beautifier though, assembly language is not that hard to format to my liking
roondar is online now  
Old 03 September 2018, 02:26   #305
pipper
Registered User

 
Join Date: Jul 2017
Location: San Jose
Posts: 196
The question for an m68k assembly beautifier is not far fetched. In particular if you start of with an old big project, it is helpful to first go through and reformat and unify all the code to your personal liking. This helps reading and understanding the code. I recently started looking into the Alienbreed 3D II source and I wish I had some automated tools to unify all the mess So far SED worked out ok, but a ‘real’ dedicated tool would be nicer.
pipper is offline  
Old 03 September 2018, 08:57   #306
plasmab
Banned
plasmab's Avatar
 
Join Date: Sep 2016
Location: UK
Posts: 2,917
68k details

Quote:
Originally Posted by pipper View Post
The question for an m68k assembly beautifier is not far fetched. In particular if you start of with an old big project, it is helpful to first go through and reformat and unify all the code to your personal liking. This helps reading and understanding the code. I recently started looking into the Alienbreed 3D II source and I wish I had some automated tools to unify all the mess So far SED worked out ok, but a ‘real’ dedicated tool would be nicer.


Ok I really didn’t want to derail things. I wanted consistent tabs, capitalisation, spaces after commas, exactly 2 lines between subroutines, casing on labels. The sort of stuff that gets enforced at professional level.

I was reworking someone else’s code base and wanted to get some consistency. Perfectly content with no as a answer. But all code can be beautified.

Last edited by plasmab; 03 September 2018 at 09:09.
plasmab is offline  
Old 03 September 2018, 10:50   #307
Megol
Registered User

Megol's Avatar
 
Join Date: May 2014
Location: inside the emulator
Posts: 374
Quote:
Originally Posted by meynaf View Post
It may look delusional and still be true.
But it isn't true. I posted just some examples, there are more.
I also posted some examples of other systems that had proper multitasking very late (68k based Macintosh) or never (ARM based RiscOS). There are more.

Quote:
If "ludicrous" and "delusional" are you only arguments, beat it.
They weren't.

But even if they were would those be better than your kind of arguing? You often use even shorter, unsubstantiated yes/no as an answer. You often just refuse to give supporting data, you argue about things that are obvious you know nothing about. So how about you follow your own advice?
Megol is offline  
Old 03 September 2018, 12:01   #308
roondar
Registered User

 
Join Date: Jul 2015
Location: The Netherlands
Posts: 1,879
Quote:
Originally Posted by plasmab View Post
Ok I really didn’t want to derail things. I wanted consistent tabs, capitalisation, spaces after commas, exactly 2 lines between subroutines, casing on labels. The sort of stuff that gets enforced at professional level.

I was reworking someone else’s code base and wanted to get some consistency. Perfectly content with no as a answer. But all code can be beautified.
This will be my last post on this subject, I promise.

My problem with code beauty standards is that I've found them to be more a representation of how whoever wrote them likes the code to be and what is 'hip' at the time it was written, rather than a rational case for what makes sense and why this particular way is the best option. This is compounded by how one persons readable is another's mess.

That said, I would agree that outside of hobby projects it is a very good idea to all write code conforming to the same layout standard. Which does not require a beautifier
roondar is online now  
Old 03 September 2018, 12:12   #309
meynaf
son of 68k
meynaf's Avatar
 
Join Date: Nov 2007
Location: Lyon / France
Age: 47
Posts: 3,782
Quote:
Originally Posted by Megol View Post
But it isn't true. I posted just some examples, there are more.
I also posted some examples of other systems that had proper multitasking very late (68k based Macintosh) or never (ARM based RiscOS). There are more.
If these so great multitasking systems were so cool, why did they just fade out ? How to check them now ? Because it's written on wikipedia then it is necessarily true ?
It's easy to say they had all these great features. But that's in no manner a proof it was really done properly, or at least, that it was easy enough to do.
Now what will you find next ? Systems with 8086 which had full memory protection ?

But anyway - it's just irrelevant.
What i'm basically saying is that it's a PITA to do with x86 - not that it can not be done at all. Same story as writing whole asm programs.


Quote:
Originally Posted by Megol View Post
They weren't.

But even if they were would those be better than your kind of arguing?
My kind of arguing is right. Yours is wrong. What you're actually doing is called a straw man fallacy.
Proof : have i said anywhere that it was impossible to multitask on old x86 ?
I just wanted to point it had to be clumsy, inefficient.
But no. You want me to mean it was just impossible and believe you're countered my arguments, where you clearly have not.


Quote:
Originally Posted by Megol View Post
You often use even shorter, unsubstantiated yes/no as an answer.
That's just not true. But ppl have the tendency to write the kind of sentence like yours above, simply because they have nothing to backup their claims and they badly want me to be wrong.
At least I don't extract a part of what the other says, attempt to refute it, and pretend i've refuted the whole.


Quote:
Originally Posted by Megol View Post
You often just refuse to give supporting data,
Wrong again. I give supporting data, and you just don't. If asked, i can give code, and you don't.


Quote:
Originally Posted by Megol View Post
you argue about things that are obvious you know nothing about.
What a typical, useless personal attack.
If i were a moderator i'd emit warnings/bans for this kind of sentences.


Quote:
Originally Posted by Megol View Post
So how about you follow your own advice?
What advice ?
meynaf is offline  
Old 03 September 2018, 12:17   #310
meynaf
son of 68k
meynaf's Avatar
 
Join Date: Nov 2007
Location: Lyon / France
Age: 47
Posts: 3,782
Quote:
Originally Posted by roondar View Post
That said, I would agree that outside of hobby projects it is a very good idea to all write code conforming to the same layout standard. Which does not require a beautifier
Well, I wouldn't. I like the ability to know who in the project wrote the code by just looking at how it's formatted. This way you can go straight to the right person without having to ask everyone.
In addition, reformatting code while reading it lets me know immediately the parts i have deciphered and the parts i have not.
And it is wrong idea that conforming everyone to the same layout enhances readability - it does so only for the one who decided of said layout !
meynaf is offline  
Old 03 September 2018, 12:29   #311
plasmab
Banned
plasmab's Avatar
 
Join Date: Sep 2016
Location: UK
Posts: 2,917
68k details

Quote:
Originally Posted by roondar View Post
This will be my last post on this subject, I promise.

My problem with code beauty standards is that I've found them to be more a representation of how whoever wrote them likes the code to be and what is 'hip' at the time it was written, rather than a rational case for what makes sense and why this particular way is the best option. This is compounded by how one persons readable is another's mess.

That said, I would agree that outside of hobby projects it is a very good idea to all write code conforming to the same layout standard. Which does not require a beautifier

That’s why you have beatification. To change from standard A to B. The standard itself is broadly irrelevant. Consistency is all I look for.

EDIT: I really should have posted this line of enquiry in its own thread. Sorry

Remember when you go for a job interview your potential employer can lookup your published hobby code and probably won’t judge it with hobby eyes.

Last edited by plasmab; 03 September 2018 at 12:49.
plasmab is offline  
Old 03 September 2018, 17:01   #312
StingRay
move.l #$c0ff33,throat

StingRay's Avatar
 
Join Date: Dec 2005
Location: Berlin/Joymoney
Posts: 6,455
Quote:
Originally Posted by plasmab View Post

Remember when you go for a job interview your potential employer can lookup your published hobby code and probably won’t judge it with hobby eyes.

Hobby code is hobby code and should not be judged for any job interview! If you publish your hobby code using your real name so any employer can look it up that's your very own fault anyway.
StingRay is offline  
Old 03 September 2018, 17:20   #313
plasmab
Banned
plasmab's Avatar
 
Join Date: Sep 2016
Location: UK
Posts: 2,917
68k details

Quote:
Originally Posted by StingRay View Post
Hobby code is hobby code and should not be judged for any job interview! If you publish your hobby code using your real name so any employer can look it up that's your very own fault anyway.

While this is true, if you want to keep the copyright on code you need to put your name on it. First thing I do when I get a CV is look for their code on github.

Last edited by plasmab; 03 September 2018 at 17:31.
plasmab is offline  
Old 03 September 2018, 17:50   #314
roondar
Registered User

 
Join Date: Jul 2015
Location: The Netherlands
Posts: 1,879
Quote:
Originally Posted by plasmab View Post
Remember when you go for a job interview your potential employer can lookup your published hobby code and probably won’t judge it with hobby eyes.
Well, if a company can't see the difference between doing something for fun and doing something professionally and how this might lead to more lax standards, then frankly I'd never want to work there to begin with. I'd rather work for a company that shows it understands how the real world works

Secondly, if they do look up my code and judge my abilities and merits based on whether or not I hold to some internal coding standard they've decided on using (instead of realising I might have my own preferences and reasons for using the style I use), then frankly they're being really short sighted. And since there is no shortage of demand for skilled people - well, it's their loss.

Quote:
While this is true if you want to keep the copyright on code you need to put your name on it. First thing I do when I get a CV is look for their code on github.
Is this before or after you've checked their Facebook to make sure they didn't do something silly ten years back?

In all seriousness, I'd never do that without prior approval from the candidate in question. I'd consider doing so an act of bad faith (not the looking up, the not telling you're doing so). Now - if they don't want me to look it up that will probably lead to me asking why, but that's a different story.

But doing it without telling them... No, that's just not acceptable in my view.
roondar is online now  
Old 03 September 2018, 18:15   #315
plasmab
Banned
plasmab's Avatar
 
Join Date: Sep 2016
Location: UK
Posts: 2,917
Quote:
Originally Posted by roondar View Post

But doing it without telling them... No, that's just not acceptable in my view.

Happens. Always will. I’ve never not interviewed anyone on the basis of this because it might be mistaken identity. Much of the time candidates point you at their hobby code.

You look at the code to see if it’s mostly consistent or a dogs breakfast. Also to see if there is really good patterns used that I would want championed in my team. Complete unit test coverage is something that would make interview someone I might otherwise not have. It’s not all negative.

I don’t see why you are getting so upset. If you’re a pro make your hobby code to a good standard.

EDIT: Anyways its free advice. Take or leave. I cant prove companies do this. Nor do I care either way.

Last edited by plasmab; 03 September 2018 at 18:59.
plasmab is offline  
Old 03 September 2018, 19:10   #316
nogginthenog
Amigan

 
Join Date: Feb 2012
Location: London
Posts: 929
Quote:
Originally Posted by plasmab View Post
While this is true, if you want to keep the copyright on code you need to put your name on it. First thing I do when I get a CV is look for their code on github.
Funny you should mention that. I interviewed a guy today and his github code was awful. OK, it's a junior support/development role but still.
He didn't know what XML or JSON was either.
nogginthenog is offline  
Old 03 September 2018, 22:32   #317
roondar
Registered User

 
Join Date: Jul 2015
Location: The Netherlands
Posts: 1,879
Quote:
Originally Posted by plasmab View Post
I don’t see why you are getting so upset.
Fair enough, I'll try to explain my point of view in a calmer way.

It's a combination of two things. The first is that I'm (and this might not be surprising ) really quite big on privacy. Basically, I just don't feel that it's OK to look people up on the internet and see what they have or have not done (essentially I'd disagree with the statement that putting something on the internet is equivalent to making yourself a public figure). I won't get into the reasons as this stuff is far enough off topic as is, but that's part one of it.

Quote:
If you’re a pro make your hobby code to a good standard.
Now, part two is more about what you write here.

I personally do not agree that this is how it should be. You may disagree, but to me a hobby is "for Sh-ts 'n' Giggles" and shouldn't really be taken seriously by the outside world unless either the person involved makes it clear it is meant to be taken seriously, or there are other good reasons to assume the person involved wasn't just having some fun. I just really don't like the idea that you can only ever do things the "proper" way if you happen to be a pro. I have my time off, I just want to have some fun and not worry about coding standard of the week #12.

And I say all this, while I'm an absolute stickler about proper indentation, proper white space use, etc

Anyway, that might explain it better. I'm not really trying to change people's minds here.
roondar is online now  
Old 03 September 2018, 22:50   #318
plasmab
Banned
plasmab's Avatar
 
Join Date: Sep 2016
Location: UK
Posts: 2,917
I get all the arguments. The rights and wrongs etc. But the real world is pretty harsh. BTW it is even more important to get your published code in order if you are a contractor. Essentially employment law does not exist for you
plasmab is offline  
Old 04 September 2018, 00:56   #319
Thorham
Computer Nerd

Thorham's Avatar
 
Join Date: Sep 2007
Location: Rotterdam/Netherlands
Age: 43
Posts: 3,089
Quote:
Originally Posted by litwr View Post
68000 two stacks was theoretically wrong
No, it's not. What happens when an interrupt occurs when you only have one stack? The interrupt writes to the user stack. Why is this a problem? Because it can write data past the end of the stack causing program or data corruption. Next, the interrupt handler has to change the stack pointer in order not to increase the risk of corruption.

Having a user stack and a supervisor stack keeps two completely different worlds separated from each other witch is a great advantage.

Now explain why having two stacks is not good, because I really want to hear that.
Thorham is offline  
Old 04 September 2018, 01:46   #320
Bruce Abbott
Registered User

Bruce Abbott's Avatar
 
Join Date: Mar 2018
Location: Hastings, New Zealand
Posts: 321
Quote:
Originally Posted by plasmab View Post
all code can be beautified.
Sure, but can it be beatified?

One problem with using a modern web browser is that you rely on it to correct spelling mistakes. Now that I am using IBrowse on the Amiga I have to be a lot more careful.

Quote:
Originally Posted by pipper
The question for an m68k assembly beautifier is not far fetched. In particular if you start of with an old big project, it is helpful to first go through and reformat and unify all the code to your personal liking. This helps reading and understanding the code.
Yes, and I like to do it manually because while I am reformatting the code I am also getting familiar with it.

I recently got back into programming on the Amiga. 20 years ago I thought my coding style was pretty good, but on review it looks quite messy. One bad habit I carried over from earlier machines was setting the assembler to case-insensitive, so some of my variables had different capitalization in different places. Turned case-sensitivity on for compatibility with OS 3.1 includes, and all my code broke! The good news is that since going through it to fix the case sensitivity issue it doesn't look so foreign anymore...
Bruce Abbott 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
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.EAB 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

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 16:15.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2020, vBulletin Solutions Inc.
Page generated in 0.16213 seconds with 16 queries