English Amiga Board


Go Back   English Amiga Board > Coders > Coders. General

 
 
Thread Tools
Old 02 February 2011, 15:15   #81
Thorham
Computer Nerd

Thorham's Avatar
 
Join Date: Sep 2007
Location: Rotterdam/Netherlands
Age: 41
Posts: 2,972
Quote:
Originally Posted by Nostalgeek View Post


Haha, so true
Ha ha, very funny indeed
Thorham is offline  
AdSense AdSense  
Old 18 February 2011, 20:25   #82
TCD
Registered User

TCD's Avatar
 
Join Date: Sep 2006
Location: Germany
Age: 39
Posts: 24,032
My 10 favourite Programming Quotes
9
TCD is offline  
Old 21 February 2011, 13:53   #83
Big-Byte
Long time member

Big-Byte's Avatar
 
Join Date: Jul 2001
Location: UK
Posts: 753
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, 22:12   #84
Lonewolf10
AMOS Extensions Developer
Lonewolf10's Avatar
 
Join Date: Jun 2007
Location: near Cambridge, UK
Age: 38
Posts: 1,917
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, 13:04   #85
deicidal
Registered Insane

deicidal's Avatar
 
Join Date: Feb 2010
Location: Ununited Kingdom
Posts: 775
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:	357
Size:	27.0 KB
ID:	27987
deicidal is offline  
Old 24 February 2011, 13:24   #86
Leffmann

 
Join Date: Jul 2008
Location: Sweden
Posts: 2,025
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, 17: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, 05:49   #88
Hewitson
Registered User
Hewitson's Avatar
 
Join Date: Feb 2007
Location: Melbourne, Australia
Age: 35
Posts: 2,235
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 05:55.
Hewitson is offline  
Old 10 March 2011, 10: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, 22:20   #90
Photon
Moderator
Photon's Avatar
 
Join Date: Nov 2004
Location: Hult / Sweden
Posts: 4,452
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, 09:04   #91
TCD
Registered User

TCD's Avatar
 
Join Date: Sep 2006
Location: Germany
Age: 39
Posts: 24,032


^_^
TCD is offline  
Old 11 March 2011, 09:12   #92
bsx
Registered User
 
Join Date: Mar 2011
Location: Hornefors
Posts: 12
funny
bsx is offline  
Old 11 March 2011, 21:26   #93
Photon
Moderator
Photon's Avatar
 
Join Date: Nov 2004
Location: Hult / Sweden
Posts: 4,452
"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, 22:25   #94
Photon
Moderator
Photon's Avatar
 
Join Date: Nov 2004
Location: Hult / Sweden
Posts: 4,452
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, 11:02   #95
Hewitson
Registered User
Hewitson's Avatar
 
Join Date: Feb 2007
Location: Melbourne, Australia
Age: 35
Posts: 2,235
Here's the modern equivalent:

[image removed]

Last edited by TCD; 16 March 2011 at 14:20.
Hewitson is offline  
Old 16 March 2011, 10:51   #96
gimbal
cheeky scoundrel
gimbal's Avatar
 
Join Date: Nov 2004
Location: Spijkenisse/Netherlands
Age: 36
Posts: 2,943
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 14:53.
gimbal is offline  
Old 16 March 2011, 14: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, 14:45   #98
Hewitson
Registered User
Hewitson's Avatar
 
Join Date: Feb 2007
Location: Melbourne, Australia
Age: 35
Posts: 2,235
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 offline  
Old 16 March 2011, 14:51   #99
TCD
Registered User

TCD's Avatar
 
Join Date: Sep 2006
Location: Germany
Age: 39
Posts: 24,032
Feel free to leave again and post your funny pictures elsewhere then.
TCD is offline  
Old 16 March 2011, 14:54   #100
Hewitson
Registered User
Hewitson's Avatar
 
Join Date: Feb 2007
Location: Melbourne, Australia
Age: 35
Posts: 2,235
Feel free to answer the question I asked too..
Hewitson is offline  
AdSense AdSense  
 


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 Akira Retrogaming General Discussion 9 07 March 2012 23:20
Just a little humor paulo_becas Nostalgia & memories 18 20 February 2010 05:23
Coding with Devpac 3.18 Seoman Coders. General 8 08 November 2007 14:34
Help coding alexh Coders. General 14 15 August 2006 10:24
Bedroom coding SabreGolly Nostalgia & memories 40 21 May 2003 21: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 06:58.


Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Page generated in 0.45010 seconds with 13 queries