Home Private Messages Search
   Toggle Content Main Menu
 Home
 [C$W] Clan
 Members

   Toggle Content Twitter


   Toggle Content Teamspeak
You are viewing this on a browser which does not support dynamically sized iframe elements. Frame content my be viewed at this link.


 

Community Forums › [C$W] Ca$hworks › General Talk › help W


help W
General Talk, everything you wanna talk about.
Post new topic Reply to topic Printer Friendly Page

1 2
>
View previous topic :: View next topic
Author Message
The following users give thanks for this topic Anonymous - Sat Sep 01, 2007 06:45 PM
Mr. W
Ca$h-Bag

Mr. W

Offline

Joined: Jan 01, 1970
Posts: 1756
Location: Luxembourg
Karma: +24

Post Post subject: help W
Posted: Thu Aug 30, 2007 12:34 PM
Reply with quote

hey has anyone of you fuckbags any knowledge in assembler (prog. language). cause i have to do like this piece of shit exercise and i'm stuck somehow. maybe you G? Smile
i need to input some integers (from 1 to 9) through the keyboard and output them..wouldn't be a problem if it hadn't to be this way:

i type in: 1 -> program outputs this: 1
i type in: 2 -> program outputs this: 12
i tpye in : 3 -> program outputs this: 123
and so on...

i dunno how to put the integers together. fuck it!

help, anyone?

edit: g gues du och en noexamen an der arcor?

Back to top
View user's profile Visit poster's website MSN Messenger Yahoo Messenger Photo Gallery XFireAdd to XFire buddy list
RangeR
Mission Controller

RangeR

Offline

Joined: Jan 01, 1970
Posts: 2085
Location: Naas, Ireland
Karma: +26

Post Post subject: help W
Posted: Thu Aug 30, 2007 03:26 PM
Reply with quote

I can do it in almost any other language but I don't know assembler

Basically you want to have a variable that stores the user keypress. You need to append each keystroke to your variable as in "variable = variable & keypress"


Again, I can do you the code in VB, PHP or maybe C but have absolutely no idea in assembler.


_________________
Mission Controlling...
Back to top
View user's profile Visit poster's website AIM Address MSN Messenger Photo Gallery XFireAdd to XFire buddy list
Mr. W
Ca$h-Bag

Mr. W

Offline

Joined: Jan 01, 1970
Posts: 1756
Location: Luxembourg
Karma: +24

Post Post subject: help W
Posted: Thu Aug 30, 2007 03:47 PM
Reply with quote

yes i could do it in VB, PHP and turbo pascal (or delphi) but not in this god damn language. many thx though, appreciated.

Back to top
View user's profile Visit poster's website MSN Messenger Yahoo Messenger Photo Gallery XFireAdd to XFire buddy list
The Merovingian
Tactical Officer

The Merovingian

Offline

Joined: Jan 01, 1970
Posts: 1448
Location: The Netherlands
Karma: +23

Post Post subject: Re: help W
Posted: Thu Aug 30, 2007 04:00 PM
Reply with quote

I once had to learn that too. I learned programming the 8086 processor in the command prompt by using: debug etc

I have to look at home to see if I have little scriptlets from then.

Maybe this helps:

1,2,3 etc are keyboard inputs. This means the input is written to some registry as a character. 3E D5 etc. With the assembly commando's you can

Loop:
1) read out the keyboard buffer IF an interrupt happened.
2) add the input to a temporary part
4) print the result to screen
Loop

Maybe this is a bit of help:
www.cs.ucd.ie/staff/jc...lp2-3.html

I googled for:
+assembly +8086 +keyboard


_________________
"Mark my words boy, Mark them well. I have survived your predecessors and I will survive you!"

The Merovingian ™
Back to top
View user's profile Send e-mail Photo Gallery
G_Unit_da_9
Ca$hworker [Admin]

G_Unit_da_9

Offline

Joined: Jan 01, 1970
Posts: 1317
Location: Luxemburg
Karma: +32

Post Post subject: help W
Posted: Thu Aug 30, 2007 04:37 PM
Reply with quote

Do you mean like this?



a9.rar a9.rar
 Description:  Assembler
 Filename:  a9.rar
 Filesize:  117 Bytes
 Downloaded:  52 Time(s)


_________________

Click on this link when ordering, to get a 5% discount.
Back to top
View user's profile Visit poster's website MSN Messenger Photo Gallery XFireAdd to XFire buddy list
RangeR
Mission Controller

RangeR

Offline

Joined: Jan 01, 1970
Posts: 2085
Location: Naas, Ireland
Karma: +26

Post Post subject: help W
Posted: Thu Aug 30, 2007 04:38 PM
Reply with quote

G_Unit_da_Dude


_________________
Mission Controlling...
Back to top
View user's profile Visit poster's website AIM Address MSN Messenger Photo Gallery XFireAdd to XFire buddy list
G_Unit_da_9
Ca$hworker [Admin]

G_Unit_da_9

Offline

Joined: Jan 01, 1970
Posts: 1317
Location: Luxemburg
Karma: +32

Post Post subject: help W
Posted: Thu Aug 30, 2007 04:39 PM
Reply with quote

BTW: The Loop works like this:
Copy Keyboard Buffer to a register (copys only if the buffer isn't empty)
Flush keyboard buffer


_________________

Click on this link when ordering, to get a 5% discount.
Back to top
View user's profile Visit poster's website MSN Messenger Photo Gallery XFireAdd to XFire buddy list
Mr. W
Ca$h-Bag

Mr. W

Offline

Joined: Jan 01, 1970
Posts: 1756
Location: Luxembourg
Karma: +24

Post Post subject: help W
Posted: Fri Aug 31, 2007 12:22 PM
Reply with quote

did you write this g? (a9.com)

what's the JZ 012Eh doing? why 012Eh??

Back to top
View user's profile Visit poster's website MSN Messenger Yahoo Messenger Photo Gallery XFireAdd to XFire buddy list
keefy
Ca$h-Bag

keefy

Offline

Joined: Jan 01, 1970
Posts: 153
Karma: +5

Post Post subject: Re: help W
Posted: Fri Aug 31, 2007 09:47 PM
Reply with quote

calling people fuckbags is a sure fire way to get help.
Some guy at work today called me and the guys "A bunch of idiots" so i put a nail behind his rear wheel.
Long story short

Back to top
View user's profile
RangeR
Mission Controller

RangeR

Offline

Joined: Jan 01, 1970
Posts: 2085
Location: Naas, Ireland
Karma: +26

Post Post subject: help W
Posted: Fri Aug 31, 2007 09:54 PM
Reply with quote

Nice one.
Karma +1


_________________
Mission Controlling...
Back to top
View user's profile Visit poster's website AIM Address MSN Messenger Photo Gallery XFireAdd to XFire buddy list
G_Unit_da_9
Ca$hworker [Admin]

G_Unit_da_9

Offline

Joined: Jan 01, 1970
Posts: 1317
Location: Luxemburg
Karma: +32

Post Post subject: help W
Posted: Sat Sep 01, 2007 09:05 AM
Reply with quote

ha ha
Karma+1


_________________

Click on this link when ordering, to get a 5% discount.
Back to top
View user's profile Visit poster's website MSN Messenger Photo Gallery XFireAdd to XFire buddy list
G_Unit_da_9
Ca$hworker [Admin]

G_Unit_da_9

Offline

Joined: Jan 01, 1970
Posts: 1317
Location: Luxemburg
Karma: +32

Post Post subject: Re: help W
Posted: Sat Sep 01, 2007 09:06 AM
Reply with quote

Mr. W :
did you write this g? (a9.com)

what's the JZ 012Eh doing? why 012Eh??
did you disassemble it?


_________________

Click on this link when ordering, to get a 5% discount.
Back to top
View user's profile Visit poster's website MSN Messenger Photo Gallery XFireAdd to XFire buddy list
Mr. W
Ca$h-Bag

Mr. W

Offline

Joined: Jan 01, 1970
Posts: 1756
Location: Luxembourg
Karma: +24

Post Post subject: Re: help W
Posted: Sat Sep 01, 2007 10:45 AM
Reply with quote

keefy :
calling people fuckbags is a sure fire way to get help.
Some guy at work today called me and the guys "A bunch of idiots" so i put a nail behind his rear wheel.
Long story short

heheh nice.
anyway the people here know how i mean this, i'm not really insulting them, it's all in good fun.
apart for the people i don't like that much. they ARE in fact fuckbags. but that wouldn't concern you, would it? Smile


i opened it in emu 8086, g

Back to top
View user's profile Visit poster's website MSN Messenger Yahoo Messenger Photo Gallery XFireAdd to XFire buddy list
RangeR
Mission Controller

RangeR

Offline

Joined: Jan 01, 1970
Posts: 2085
Location: Naas, Ireland
Karma: +26

Post Post subject: help W
Posted: Sat Sep 01, 2007 11:19 AM
Reply with quote

Why not open it in notepad?


_________________
Mission Controlling...
Back to top
View user's profile Visit poster's website AIM Address MSN Messenger Photo Gallery XFireAdd to XFire buddy list
Mr. W
Ca$h-Bag

Mr. W

Offline

Joined: Jan 01, 1970
Posts: 1756
Location: Luxembourg
Karma: +24

Post Post subject: help W
Posted: Sat Sep 01, 2007 11:48 AM
Reply with quote

because i opened it in emu 8086?

Back to top
View user's profile Visit poster's website MSN Messenger Yahoo Messenger Photo Gallery XFireAdd to XFire buddy list

1 2
>
Post new topic Reply to topic Printer Friendly Page
You cannot post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum

 
   Toggle Content User Info
Welcome

Anonymous

Nickname
Password
Register

Membership:
Latest: happyzhi
New Today: 0
New Yesterday: 0
Overall: 90

Online Now [45]:
Visitors: 43
Bots: 2
Members: 0

   Toggle Content Calendar
May 2012
MTWTFSS
01 02 03 04 05 06
07 08 09 10 11 12 13
14 15 16 17 18 20
21 22 23 24 25 26 27
28 29 30 31

   Toggle Content Survey
C$W is of clan type




Results :: Polls

Votes: 6
Comments: 0

   Toggle Content Random Pic

10029-158.jpg
10029-158.jpg

10002-cp_dustbowl0017.jpg
10002-cp_dustbowl001 ...

10053-pict0002.jpg
10053-pict0002.jpg

10002-cp_freight_b30001.jpg
10002-cp_freight_b30 ...

Photo Gallery

   Toggle Content Who Where
 Bots:
1: Google > CPGNuCalendar
2: Baidu > Photo Gallery
 Visitors:
01: Community Forums
02: Downloads
03: Downloads
04: Downloads
05: Downloads
06: Downloads
07: Downloads
08: Downloads
09: Downloads
10: Downloads
11: Downloads
12: Downloads
13: Downloads
14: Downloads
15: Downloads
16: Downloads
17: Downloads
18: Downloads
19: Downloads
20: Downloads
21: Downloads
22: CPGNuCalendar
23: CPGNuCalendar
24: CPGNuCalendar
25: CPGNuCalendar
26: CPGNuCalendar
27: CPGNuCalendar
28: CPGNuCalendar
29: CPGNuCalendar
30: CPGNuCalendar
31: CPGNuCalendar
32: CPGNuCalendar
33: CPGNuCalendar
34: CPGNuCalendar
35: CPGNuCalendar
36: CPGNuCalendar
37: CPGNuCalendar
38: Community Forums
39: Photo Gallery
40: CPGNuCalendar
41: CPGNuCalendar
42: CPGNuCalendar
43: CPGNuCalendar

[C$W] Ca$hworks HL2:CTF Clan
Created by G_Unit_da_9 - Design by The Merovingian ™
Hosted by www.hell.at
Interactive software released under GNU GPL, Code Credits, Privacy Policy