WHORING FOR SHEEP

Every now and then a Llamasoftie will say something interesting. Honestly! This is where we will keep these topics so that they don't get deleted.
User avatar
Istar
Baaaaaa!
Baaaaaa!
Posts: 4869
Joined: Mon Apr 22, 2002 4:42 pm 0
Location: London, UK.

Post by Istar »

20 POKE 36879,8:REM black screen & border
User avatar
Elizian
Baaaaaaa!
Baaaaaaa!
Posts: 7071
Joined: Tue Apr 23, 2002 11:20 am 0
Yahoo Messenger: niimaur
Location: SE Northumberland
Contact:

Post by Elizian »

21 GOTO 20
ASCII a silly question ... get a silly ANSI - Bog
User avatar
ekendrick
Baaaaaa!
Baaaaaa!
Posts: 3033
Joined: Wed Apr 24, 2002 12:14 pm 0
Location: Stratford-upon-Avon

Post by ekendrick »

/tries to remember... pzzzt memory fault.

5 poke 8191,1

/now noone can stop me - bwahahahahah
User avatar
Elizian
Baaaaaaa!
Baaaaaaa!
Posts: 7071
Joined: Tue Apr 23, 2002 11:20 am 0
Yahoo Messenger: niimaur
Location: SE Northumberland
Contact:

Post by Elizian »

That reminds that IBM once wrote a 1-line Assembler program with a bug in it! Allegedly, the executable program IEFBR14 was first published with just one instruction: 07 FE (an unconditional branch to the address in register 14)
It was intended as a universal exit program or a program to call to perform device allocation, etc.. Sadly, they forgot to set the Return Code into any user accessible register, so the program was always "successful", even when the process preceding the link to IEFBR14 had been totally foxxed!
ASCII a silly question ... get a silly ANSI - Bog
User avatar
ekendrick
Baaaaaa!
Baaaaaa!
Posts: 3033
Joined: Wed Apr 24, 2002 12:14 pm 0
Location: Stratford-upon-Avon

Post by ekendrick »

Are you implying aw mams better than aw gran? eh? eh? eh? eh?
User avatar
Muttley
Sheepie Whore
Sheepie Whore
Posts: 13169
Joined: Thu Apr 25, 2002 12:30 pm 0
XBL Gamertag: Mu77ley
Location: In a maze of twisty passages, all alike.
Contact:

Post by Muttley »

Code: Select all

10 A = 0
20 B = 255
30 POKE 53280,A
40 POKE 53281,B
50 A = A + 1
60 IF A > 255 THEN A = 0
70 B = B - 1
80 IF B < 0 THEN B = 255
90 GOTO 30

RUN
Or in assembly:

Code: Select all

$c000  ldx #$00
$c002  ldy #$FF
$c004  stx $d020
$c007  sty $d021
$c009  inx
$c00a  dey
$c00b  jmp $c004

SYS 49152
:twisted:

Muttley

:sheep::sheep::sheep::sheep::sheep:
:sheep::sheep::sheep::sheep::sheep:
Muttley's Blog: Rarely updated, occasionally interesting… maybe
RetroRemakes Framework: Open Source BlitzMax Game Framework
MuttMod: My Open Source BlitzMax Modules
User avatar
Yak
Sheepie Whore
Sheepie Whore
Posts: 20266
Joined: Wed Apr 17, 2002 10:22 am 0
Location: Wales
Contact:

Post by Yak »

Muttley wrote:

Code: Select all

10 A = 0
20 B = 255
30 POKE 53280,A
40 POKE 53281,B
50 A = A + 1
60 IF A > 255 THEN A = 0
70 B = B - 1
80 IF B < 0 THEN B = 255
90 GOTO 30

RUN
Didn't BASIC have a logical AND? It seems to make a lot morer sense to go

Code: Select all

A=A&255
B=B&255
instead of the compare/reassignments...

\
(:-) - Yak
/
Justified and Ancient.
User avatar
Muttley
Sheepie Whore
Sheepie Whore
Posts: 13169
Joined: Thu Apr 25, 2002 12:30 pm 0
XBL Gamertag: Mu77ley
Location: In a maze of twisty passages, all alike.
Contact:

Post by Muttley »

Yak wrote:
Muttley wrote:

Code: Select all

10 A = 0
20 B = 255
30 POKE 53280,A
40 POKE 53281,B
50 A = A + 1
60 IF A > 255 THEN A = 0
70 B = B - 1
80 IF B < 0 THEN B = 255
90 GOTO 30

RUN
Didn't BASIC have a logical AND? It seems to make a lot morer sense to go

Code: Select all

A=A&255
B=B&255
instead of the compare/reassignments...

\
(:-) - Yak
/
You're right! But no "&" abbreviation apparently, a full "and" required!

Image

It's been a loooong time. :)

Muttley

:sheep::sheep::sheep::sheep::sheep:
:sheep::sheep::sheep::sheep::sheep:[/img]
Muttley's Blog: Rarely updated, occasionally interesting… maybe
RetroRemakes Framework: Open Source BlitzMax Game Framework
MuttMod: My Open Source BlitzMax Modules
User avatar
Elizian
Baaaaaaa!
Baaaaaaa!
Posts: 7071
Joined: Tue Apr 23, 2002 11:20 am 0
Yahoo Messenger: niimaur
Location: SE Northumberland
Contact:

Post by Elizian »

Excuse me, people :evil: Could you post this sort of stuff on the Programming Forum :twisted: There's folk around here whoring for sheepies :lol:
ASCII a silly question ... get a silly ANSI - Bog
koworld
Sheepie Whore
Sheepie Whore
Posts: 13130
Joined: Wed Sep 25, 2002 6:14 pm 0

Post by koworld »

Where is my mother?
User avatar
Elk
Baaaaaa!
Baaaaaa!
Posts: 2382
Joined: Mon May 27, 2002 9:52 am 0

Post by Elk »

ping
User avatar
piku
Sheepie Whore
Sheepie Whore
Posts: 20960
Joined: Wed Apr 24, 2002 10:44 am 0
Website: Http://Www.ncot.uk
Location: Wakefield
Contact:

Post by piku »

Elk wrote:ping
Request timed out. No route to host
Request timed out. No route to host
Request timed out. No route to host
return (0);
User avatar
SimonB
Baaaaaa!
Baaaaaa!
Posts: 4861
Joined: Mon Apr 29, 2002 12:26 pm 0
Location: Suffolk
Contact:

Post by SimonB »

Smeggin' Hell, this topic still lives.


Simon

Song of the day: The Colourfield - Thinking Of You
User avatar
irata
Baaa!
Baaa!
Posts: 186
Joined: Sat Apr 27, 2002 9:55 pm 0
Contact:

Post by irata »

8O
Fiftyfive pages of nonsense (almost) and I'm still not on it! :oops:

I repeat:
:roll:
twentyseven beer and still not too drunk to go to the toilet. :lol:

(Ok, that's a lie. I'm here at work, pretending.)
User avatar
PVB
Sheepie Whore
Sheepie Whore
Posts: 32542
Joined: Mon Apr 22, 2002 10:16 pm 0
XBL Gamertag: PVBuk
PSN: PVBuk
Location: Medway, U.K.

Post by PVB »

@Muttley:

How cool is it that Yak gives you advice in programming?! 8)
Locked