Forum archives » Fights Go Here » to those who question my IT knowledge...

clone77
September 24, 2002 9:36 AM

those who understand the following assembler 68k code are invited to talk about IT with me.

those who don't understand it are invited to do so as well of course.

however, stop fucking questioning my IT skills, please !

the code looks a bit messy, however it was written in a text editor and there it is quite tidy.

* ========================
ORG $F000 ;
* ========================

NOLIST

* Display the current LCD Display

Harness MOVEA.L #Display,A0 ; Point to start of Display
MOVEQ #3,D3 ; Count = 3

HDLoop MOVE.B (A0)+,D2 ; Read the first 2-Digits
MOVE.B D2,D1
LSR.B #4,D1
BSR HDigit ; Display first digit
MOVE.B D2,D1
BSR HDigit ; Display second digit
DBRA D3,HDLoop ; until Count--

* Display the Harness Prompt

LEA HPrompt,A0 ; Point to String
BSR HString ; Display it

* Read a key from the keyboard

MOVE.B #5,D0 ; Wait for char from (PC) keyboard
TRAP #15

* Process the Key

CMPI.B #'0',D1 ; Is it < '0' ?
BLT HCmd ; Yes => It may be a command
CMPI.B #'9',D1 ; No => Is it > '9' ?
BGT HCmd ; Yes => May be a command

ANDI.B #$0F,D1 ; Must be a Numeric Key
MOVE.B D1,D2 ; Save it in D2

LEA HCRLF,A0 ; Point to CR/LF (newline)
BSR HString ; Display it

* Call Students' code with D2

HKey MOVE.L #Program,D0 ; Simulate rubbish in high nibble
MOVE.B HPtr,D0
ADDQ #1,D0
MOVE.B D0,HPtr
MOVEA.L D0,A0
MOVE.B (A0),D0

ANDI.B #$F0,D0
OR.B D2,D0

MOVE.B D0,KeyCode ;
CLR.W D0
CLR.W D2
JSR Keyboard ; Call Students code
BRA Harness ; Display Status

* Check the Command Table for the Key

HCmd CMPI.B #'a',D1 ; Is the Key Upper Case
BLT HCmd1
ANDI.B #$DF,D1 ; No => Convert to Uppercase

HCmd1 LEA HCMDTBL,A0 ; Point to Command Table

HCmd2 CMP.B (A0)+,D1 ; Is it first char?
BEQ HDoCmd ; Yes => Do Command
CMP.B (A0),D1 ; No => Is it second char?
BEQ HDoCmd ; Yes => Do Command

HCmd3 CMPI.B #0,(A0)+ ; Scan though to the next
BNE HCmd3 ; entry in the table

CMPI.B #0,(A0) ; End of table?
BNE HCmd2 ; No => Check for command

LEA HCRLF,A0 ; Yes => Ignore it
BSR HString
BRA Harness

HDoCmd ADDA.W #1,A0
MOVE.B (A0)+,D2 ; Read Key Code
BSR HString ; Display Command

LEA HCRLF,A0 ; Display a Newline (\n)
BSR HString

CMPI.B #$10,D2 ; It is a Harness function ?
BLT HKey ;

* Harness Function: 0 - Clear Key

CMPI.B #$10,D2 ; Is it the clear key?
BNE HQuit ; No => Must be Quit

HClr JSR Clear ;
BRA Harness

* Harness Function: 1 - Quit / Exit Harness

HQuit STOP #$2000

* ===================================================
* Harness Subroutines
* ===================================================

* ====
* Display ASCIIZ string
* A0 => Pointer to first byte of zero terminated string
* A0 <= Pointer to byte after zero byte
* D0 <= 6
* D1 <= 0
* ====

HString MOVE.B (A0)+,D1 ; Read char from string
BNE HStr1 ; It it end of string ?
RTS ; Yes => return to caller
HStr1 MOVEQ #6,D0
TRAP #15 ; No => Display char
BRA HString

* ====
* Display a single hexadecimal digit
* D1 => Lower Nibble is hex digit to display
* A1 <= Used
* D0 <= 6
* D1 <= ASCII Code for D1(0:4)
* ====

HDigit ANDI.B #$0F,D1 ; Strip out upper nibble
CMP.B #$0A,D1 ; Is it Extended BCD?
BLT HDec ; No => Display it

CLR.L D0 ; Clear Index value
LEA HCTBL,A1 ; Point to Char Table
MOVE.L D1,D0 ; Copy Key code into index
SUB.B #$0A,D0 ; Convert Code into index
ADDA.L D0,A1 ; Index into Table
MOVE.B (A1),D1 ; Read Char from Table
BRA HChar ; Display it

HDec ADD.B #'0',D1 ; Make it an ASCII Char

HChar MOVEQ #6,D0 ; putchar(D1)
TRAP #15
RTS

* ===================================================
* Private Data Section for the Test Harness
* ===================================================

Hptr DC.L $4000
HPrompt DC.B ' ? ',0
HCRLF DC.B 13,10,0

HCTBL DC.B '??o Er'

HCMDTBL DC.B '*','M',$0A,' Multiply',0
DC.B '/','D',$0B,' Divide',0
DC.B '-','S',$0C,' Subtract',0
DC.B '+','A',$0D,' Add',0
DC.B '=','E',$0F,' Equals',0
DC.B 'C','C',$10,' Clear',0
DC.B 'Q','Q',$11,' Quit',0
DC.B 'X','X',$11,' Exit',0
DC.B 0

LIST

Post #66180link

punkrockskaboy
September 24, 2002 10:37 AM

Congratulations, you can write code. My friend is an IT major who is a network administrator and knows just about EVERYTHING there is to know about computers. It takes a LOT more than being able to write code to be an IT person.

You know code and languages!!! Oh my god...bow down. I can learn languages too...the book is called C++ for Dummies and Binary for Dummies and many many more.

p34c3

Post #66200link

BigEvilDan
September 24, 2002 10:46 AM

Why are the comments in this code so much more coherent than your other posts?

Post #66204link

clone77
September 24, 2002 10:49 AM

it's sooooo mcuh more than being able to code or knowing 100s of languages.

more than you, more than (even i, haha) can imagine.

to be able to create useable code, you need to know : mathematics (loads of it), philospophy, some physics, quite a big bit of phsychology (-> HCI), some natural language processing, you need to have social skills, teamworking skills, problem solving skills, you need to be able to do thorough error tests, ETC. ETC. ETC.

and THAT is what i've been studying, OK ???

Post #66207link

punkrockskaboy
September 24, 2002 10:52 AM

hang on...i will ask my friend...he will tell me if any of this makes sense

Post #66209link

punkrockskaboy
September 24, 2002 11:03 AM

The results are in....
He says:

"to manufacture code worth anything you need a thourough understanding of algebra and discreet mathematics."

"you need to understand the english language as well as sentance structure and syntax"

"team work skills and social skills are of utmost importance, because no worthy coder operates solely"

(My only problem with that one is that it seems as though you ARE operating solely, to which he says no GOOD programmer does.)

"your error testing and usability testing skills have to be well developed"

all in all, i guess you are basically telling the truth, although I still have to doubt some of your abilities as a hacker due to what my friend said on THAT subject:

My question:
"Would a true hacker brag about his abilities to hack and threaten to crash a website multiple times?"

His answer:
"it depends - some hackers have too much pride, so they use threats and boast; most, however, are secretive and understand how easily an IP capture could turn their boasts into probable cause for port scan and software audits"

These are truthful statements from an OUTSIDE source who is a computer wiz. So please Clone_m7, Stop being a dick.

Post #66212link

punkrockskaboy
September 24, 2002 11:04 AM

WAITAMINUTE!!! I just got a fun little message from him, an OUTSIDE source mind you:

"on another hand, most hackers don't go out and say this shit. so I would guess the little bitch is either a pretender or a weak ass script-kiddie"

heeheehee...gave me a chuckle

Post #66213link

punkrockskaboy
September 24, 2002 11:13 AM

Oh...wait again:

In response to the Code that started this thread:
Him-"first of all - where did you get it?"
Me-"off the forum...the schmuck is trying to prove himself to the regs"
Him-"yeah, like a keylogger is that impressive. if he feels so inadequate perhaps its because he has yet to do anything spectacular. just say "the lady doth protest too much" and have a nice long laugh at his expense"

So, in honor of my friend Devon:

The lady doth protest too much! Now everyone give that nice long laugh...

Post #66216link

punkrockskaboy
September 24, 2002 11:15 AM

sorry about the multiple posts in a row...but I got one more bit of information from my compadre:

"in the blackhat community there are far too many wanna-bes and not enough of the real mccoy"

Truer words have never been spoken.

Post #66217link

boorite
September 24, 2002 12:49 PM

All that code just to flush a toilet?

Post #66233link

User #16352
September 24, 2002 12:55 PM

One 2 3 four five 6.

Post #66234link

clone77
September 24, 2002 1:20 PM

ok.

i never actually threatened to crash this site.

i said i could, but i also said that i wouldn't because of the (few) decent people around and to give respect to Brad's work, which i consider really good.

i am a teamworker, believe me or not, but i would never work together with ignorant dicks, who insult people they don't know for no reason (withour naming anyone)

if i would 'shut down' a site there would have to be a strong reason for doing so.
being called a fucktard or whatever is hardly such a reason.
also if i (would) do sth illegal, i don't use this PC (allthough i can cloak allmost anything). there is ALWAYS someone better than you, who can trace you back.
what do you think internet-coffeeshops are good for ???

i tried to tell you about sth quite spectacular we are going to do soon, but you were deaf. this action does not require silence, due to the fact that it will not be a single event, but sth that will be going on for months or even years.
since i am only a tiny bit of the conglomerat which is the active team, i cannot really tell you details.
if you want to be informed, tell me and sb (not me, sb much, much better) will decide wheter i can tell you more or not.
sorry for speaking in such a fucked up way, but i am not sure how much i can tell you, especially after your first reactions after i tried to give you a hint a few days ago.

i am not trying to show the world (or in this case some bored teenagers) how good i am at coding or hacking. i know my strenghs and my weaknesses.

this site is neither about IT nor hacking, it is about comics. if your way of socialising is to gang up against single persons, then 'heil hitler' to you.

whatever, fuck_m7

Post #66237link

JrnymnNate
September 24, 2002 1:30 PM

Brad, I think this deserves your attention to some degree.

Post #66240link

clone77
September 24, 2002 1:32 PM

y ?

Post #66241link

punkrockskaboy
September 24, 2002 1:33 PM

quote:
this site is neither about IT nor hacking, it is about comics
THEN STOP TELLING US HOW GOOD YOU ARE.

BTW, I gave you his name. It is Devon. I said that. Also, Devon is 22, not a teenager. I am 18, so if that remark was toward me, then you would be correct. Also, You never did tell us how old you were. You cant be too much older than most of us here, judging by how you are acting.

Post #66242link

gabe_billings
September 24, 2002 4:55 PM

quote:
MOVEA.L D0,A0


You sank my Battleship!

Post #66263link

kaufman
September 24, 2002 5:58 PM

quote:
quote:
MOVEA.L D0,A0


You sank my Battleship!
No no no! It's the Banana Boat Song.

Post #66268link

Devin
September 24, 2002 7:24 PM

quote:
MOVEA.L D0,A0
Hey, if you read it sideways, I think it says "SATAN IS MY MASTER..."

Post #66273link

Forum archives » Fights Go Here » to those who question my IT knowledge...

stripcreator
Make a comic
Forums
featuring
diesel sweeties
jerkcity
exploding dog
goats
ko fight club
penny arcade
chopping block
also
Brad Sucks