English Amiga Board


Go Back   English Amiga Board > Coders > Coders. General

 
 
Thread Tools
Old 02 February 2011, 14:15   #81
Thorham
Computer Nerd
 
Thorham's Avatar
 
Join Date: Sep 2007
Location: Rotterdam/Netherlands
Age: 47
Posts: 3,751
Quote:
Originally Posted by Nostalgeek View Post


Haha, so true
Ha ha, very funny indeed
Thorham is online now  
Old 18 February 2011, 19:25   #82
TCD
HOL/FTP busy bee
 
TCD's Avatar
 
Join Date: Sep 2006
Location: Germany
Age: 46
Posts: 31,518
My 10 favourite Programming Quotes
9
TCD is offline  
Old 21 February 2011, 12:53   #83
Big-Byte
Long time member
 
Big-Byte's Avatar
 
Join Date: Jul 2001
Location: UK
Posts: 754
Id like to add two more items to the programmers reference guide:

* Outsourcing
You pay a cheap Eastern European to shoot himself in the foot. He misses, and the ricocheting bullet takes out your server.


* Cloud
You hire a gunman from Amazon or Google to perform the hit. Next time you surf the web, you see lots of adverts for protective shoes.
Big-Byte is offline  
Old 23 February 2011, 21:12   #84
Lonewolf10
AMOS Extensions Developer
 
Lonewolf10's Avatar
 
Join Date: Jun 2007
Location: near Cambridge, UK
Age: 44
Posts: 1,924
Hi,

I thought it was funny that someone would spend ages (currently 16.5 years) creating a webpage that has Hello World programs for loads of different programming languages (currently 400+).

The Hello World Collection

Anyway, am I correct in thinking that the Amiga ASM code is wrong? Specifically, this line:

Code:
B)      jsr     -$03B4          ;PutStr

Regards,
Lonewolf10
Lonewolf10 is offline  
Old 24 February 2011, 12:04   #85
deicidal
Registered Insane
 
deicidal's Avatar
 
Join Date: Feb 2010
Location: Ununited Kingdom
Posts: 792
Not sure if it counts as coding but it made me laugh

Click image for larger version

Name:	167579_10150382849915587_825690586_16907655_3406240_n.jpg
Views:	672
Size:	27.0 KB
ID:	27987
deicidal is offline  
Old 24 February 2011, 12:24   #86
Leffmann
 
Join Date: Jul 2008
Location: Sweden
Posts: 2,269
Quote:
Originally Posted by Lonewolf10 View Post
I thought it was funny that someone would spend ages (currently 16.5 years) creating a webpage that has Hello World programs for loads of different programming languages (currently 400+).

Anyway, am I correct in thinking that the Amiga ASM code is wrong? Specifically, this line:
I didn't even know there were more than 400 programming languages :O But yes there's that and other errors as well. A simplified and working example would be:

Code:
; Hello World in M68000 assembler for AmigaOS 2.0 (Amiga)

            move.l  4, a6
            lea     DosLibrary, a1
            moveq   #0, d0
            jsr     -552(a6)         ; Open dos.library
            move.l  d0, a6

            move.l  #HelloWorld, d1
            jsr     -948(a6)         ; Call PutStr

            moveq   #0, d0
            rts

DosLibrary  dc.b    "dos.library", 0
HelloWorld  dc.b    "Hello World!\n", 0
Leffmann is offline  
Old 25 February 2011, 16:23   #87
gilgamesh
Linux snob
 
gilgamesh's Avatar
 
Join Date: Sep 2008
Location: Monkey Island
Posts: 997
Cussing in Commits: Which Programming Language Inspires the Most Swearing?

Tits is one of the seven dirty words? Who would have thought that?
gilgamesh is offline  
Old 10 March 2011, 04:49   #88
Hewitson
Registered User
 
Hewitson's Avatar
 
Join Date: Feb 2007
Location: Melbourne, Australia
Age: 41
Posts: 3,772
Quote:
Originally Posted by Leffmann View Post
I didn't even know there were more than 400 programming languages :O But yes there's that and other errors as well. A simplified and working example would be:

Code:
; Hello World in M68000 assembler for AmigaOS 2.0 (Amiga)

            move.l  4, a6
            lea     DosLibrary, a1
            moveq   #0, d0
            jsr     -552(a6)         ; Open dos.library
            move.l  d0, a6

            move.l  #HelloWorld, d1
            jsr     -948(a6)         ; Call PutStr

            moveq   #0, d0
            rts

DosLibrary  dc.b    "dos.library", 0
HelloWorld  dc.b    "Hello World!\n", 0
I just tried it on 1.3 and got a Guru, obviously it doesn't have PutStr.

Could you possibly adapt this to work on 1.3 if it's not too much trouble?

Last edited by Hewitson; 10 March 2011 at 04:55.
Hewitson is online now  
Old 10 March 2011, 09:07   #89
r0ber7
it's all in your head
 
r0ber7's Avatar
 
Join Date: Feb 2011
Location: The Netherlands
Posts: 174
Quote:
Originally Posted by Herpes View Post
... next:


r0ber7 is offline  
Old 10 March 2011, 21:20   #90
Photon
Moderator
 
Photon's Avatar
 
Join Date: Nov 2004
Location: Eksjö / Sweden
Posts: 5,602
Quote:
Originally Posted by Hewitson View Post
I just tried it on 1.3 and got a Guru, obviously it doesn't have PutStr.

Could you possibly adapt this to work on 1.3 if it's not too much trouble?
In the example, I would remove moveq #0 and use OldOpen (-408), then Output (-60?), then Write (-36?) Offsets are from memory so don't rely on them. Also, I would close Doslib.

I've never used PutStr, maybe some late addition.
Photon is offline  
Old 11 March 2011, 08:04   #91
TCD
HOL/FTP busy bee
 
TCD's Avatar
 
Join Date: Sep 2006
Location: Germany
Age: 46
Posts: 31,518


^_^
TCD is offline  
Old 11 March 2011, 08:12   #92
bsx
Registered User
 
Join Date: Mar 2011
Location: Hornefors
Posts: 12
funny
bsx is offline  
Old 11 March 2011, 20:26   #93
Photon
Moderator
 
Photon's Avatar
 
Join Date: Nov 2004
Location: Eksjö / Sweden
Posts: 5,602
"If the process of using a debugger is to remove bugs, it follows logically that the process of using a compiler is to add bugs."

From this thread?
Photon is offline  
Old 12 March 2011, 21:25   #94
Photon
Moderator
 
Photon's Avatar
 
Join Date: Nov 2004
Location: Eksjö / Sweden
Posts: 5,602
Also,

"In the 80s there was a home computer that was the gay person's choice. Its name?"

AMIGO
Photon is offline  
Old 15 March 2011, 10:02   #95
Hewitson
Registered User
 
Hewitson's Avatar
 
Join Date: Feb 2007
Location: Melbourne, Australia
Age: 41
Posts: 3,772
Here's the modern equivalent:

[image removed]

Last edited by TCD; 16 March 2011 at 13:20.
Hewitson is online now  
Old 16 March 2011, 09:51   #96
gimbal
cheeky scoundrel
 
gimbal's Avatar
 
Join Date: Nov 2004
Location: Spijkenisse/Netherlands
Age: 42
Posts: 6,905
Quote:
Originally Posted by Hewitson View Post
Here's the modern equivalent:
When posting a picture from the web, also post the link to it in case the image is blocked. Such as in this case

Last edited by TCD; 16 March 2011 at 13:53.
gimbal is offline  
Old 16 March 2011, 13:13   #97
gilgamesh
Linux snob
 
gilgamesh's Avatar
 
Join Date: Sep 2008
Location: Monkey Island
Posts: 997
It's not blocked for me. Kinderbeveiliging?
gilgamesh is offline  
Old 16 March 2011, 13:45   #98
Hewitson
Registered User
 
Hewitson's Avatar
 
Join Date: Feb 2007
Location: Melbourne, Australia
Age: 41
Posts: 3,772
This lameness reminds me exactly why I left this site for quite some time.. Please enlighten me as to what's so offensive about that pic?
Hewitson is online now  
Old 16 March 2011, 13:51   #99
TCD
HOL/FTP busy bee
 
TCD's Avatar
 
Join Date: Sep 2006
Location: Germany
Age: 46
Posts: 31,518
Feel free to leave again and post your funny pictures elsewhere then.
TCD is offline  
Old 16 March 2011, 13:54   #100
Hewitson
Registered User
 
Hewitson's Avatar
 
Join Date: Feb 2007
Location: Melbourne, Australia
Age: 41
Posts: 3,772
Feel free to answer the question I asked too..
Hewitson is online now  
 


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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Pixel coding Amiga1992 Retrogaming General Discussion 9 07 March 2012 22:20
Just a little humor paulo_becas Nostalgia & memories 18 20 February 2010 04:23
Coding with Devpac 3.18 Seoman Coders. General 8 08 November 2007 13:34
Help coding alexh Coders. General 14 15 August 2006 09:24
Bedroom coding SabreGolly Nostalgia & memories 40 21 May 2003 20:35

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 18:03.

Top

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