Page 2 of 2 FirstFirst 12
Results 16 to 23 of 23

Thread: Camo Speedcams in Singapore

  1. #16
    Join Date
    24th September 2006 - 02:00
    Bike
    -
    Location
    -
    Posts
    4,736
    Quote Originally Posted by Sanx View Post
    Erm ... programs go from one line to another anyway. "Use a fooking Petrol Bomb" would appear regardless. Much better to simply do:

    10 IF "Camera" IS IN "Rubbish Bin" THEN PRINT "Use a fooking Petrol Bomb"

    Correct, but you shouldn't be using fucking BASIC anyway ...

    Code:
    lda $1, "CAMERA";
    lda $2, "RUBBISH BIN";
    cmpeq $1, $2, $t5;
    bne $t5, do;
    ret;
    :do
    lda $a0, "USE A FOOKING PETROL BOMB";
    ldiq $a0, CALL_PAL_CALLSYS;

  2. #17
    Join Date
    13th February 2006 - 13:12
    Bike
    raptor 1000
    Location
    Dunedin
    Posts
    2,979
    Quote Originally Posted by avgas View Post
    They have tested these in Sandringham once. I saw it walking home from Uni a few years back.
    how do you know it was walking to uni

  3. #18
    Join Date
    21st June 2005 - 20:11
    Bike
    .
    Location
    .
    Posts
    1,929
    I learnt BASIC when I was 7 (Mainly because my tape drive only worked half the time, so I had to write my own games >_<), then decided motorcycles where more interesting. Put a stick in the spokes of my bike, and went of in search of hills

    I didn't expect some uber geek like Tom Cornall to come along 13 years later and disassemble my joke, then recompile it into another programming language?!

  4. #19
    Join Date
    16th February 2005 - 11:00
    Bike
    .......?
    Location
    Auckland
    Posts
    811
    Those pics aren't from Singapore, more likely Holland.

  5. #20
    Join Date
    1st April 2006 - 20:46
    Bike
    Cagiva Raptor 650, ZX-10R
    Location
    Wellington
    Posts
    1,135
    How did you figure that?
    .
    .
    "All that is necessary for the triumph of evil is that good men do nothing." Edmund Burke

  6. #21
    Join Date
    16th February 2005 - 11:00
    Bike
    .......?
    Location
    Auckland
    Posts
    811
    Quote Originally Posted by Bend-it View Post
    How did you figure that?
    Well, they drive on the left in Singapore and the car in the background is driving on the right. Secondly, seen the pics before, a couple of years ago.

  7. #22
    Join Date
    4th December 2006 - 13:45
    Bike
    2008 KTM SuperDuke R
    Location
    Brisbane, Queensland
    Posts
    1,010
    Quote Originally Posted by xerxesdaphat View Post

    Code:
    lda $1, "CAMERA";
    lda $2, "RUBBISH BIN";
    cmpeq $1, $2, $t5;
    bne $t5, do;
    ret;
    :do
    lda $a0, "USE A FOOKING PETROL BOMB";
    ldiq $a0, CALL_PAL_CALLSYS;
    Assembler. Smart-arse.

    Anyway - surely it'd be better to load the two values into the x and y registers and compare them there, than put them both into the acculumator?

  8. #23
    Join Date
    24th September 2006 - 02:00
    Bike
    -
    Location
    -
    Posts
    4,736
    Holy shit -- I got caught out. I thought I'd be safe here on KB!!

    I'm actually a lost and distressed C programmer, awash in a world of learning Alpha assembly in time for my CS210 exam (yesterday morning). I don't think it went magically.

    Not sure if I did load them into the accumulator, on Alpha the registers are called odd things. Like $t0, or $26.

    Once you get past the steep issue of bizarre syntax, C is actually quite like assembler, which is comforting.

    You're right. Using assembler to an uber-geek is like some people use Latin here on KB -- to win a pissing contest. It's not hard to win a pissing contest against BASIC, though -- even Pascal would suffice.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •