Hollosi Information eXchange /HIX/
HIX GURU 277
Copyright (C) HIX
1995-10-29
Új cikk beküldése (a cikk tartalma az író felelőssége)
Megrendelés Lemondás
1 Serial port Linux alatt (mind)  45 sor     (cikkei)
2 900 MHZ-es kerdes (mind)  13 sor     (cikkei)
3 Oprendszerekrol - viccesen (mind)  92 sor     (cikkei)
4 Real time (mind)  83 sor     (cikkei)
5 LILO es Delphi (mind)  65 sor     (cikkei)
6 Visual Basic & FoxPro (mind)  7 sor     (cikkei)
7 Win95 billentyuzet valtas (mind)  8 sor     (cikkei)
8 Real-time (mind)  26 sor     (cikkei)
9 GUI konyvtar DJGPP-hez (mind)  10 sor     (cikkei)
10 X-BTOA Kodolo program kellene (mind)  8 sor     (cikkei)
11 real time, assmebly guru (mind)  42 sor     (cikkei)
12 Re: MAPLE (?) (mind)  21 sor     (cikkei)

+ - Serial port Linux alatt (mind) VÁLASZ  Feladó: (cikkei)

Kerdesem lenne igazi Unix (Linux) gurukhoz.
Itt most igazi gurukra van szuksegem!
Van egy robotom amit DOS alol kitunoen lehet hasznalni. Soros portra van
kotve amit Linux alatt /dev/cua2 neven erek el.
A port beallitasa (setserial szerint):

>/dev/cua2, Line 2, UART: 16550A, Port: 0x03e8, IRQ: 5
>	Baud_base: 115200, close_delay: 50, divisor: 0
>	Flags: spd_normal skip_test

stty --all szerint:

>speed 9600 baud; rows 0; columns 0; line = 0;
>intr = ^C; quit = ^\; erase = ^?; kill = ^U; eof = ^D; eol = ^M;
>eol2 = <undef>; start = ^Q; stop = ^S; susp = ^Z; rprnt = ^R; werase = ^W;
>lnext = ^V; flush = ^O; min = 1; time = 0;
>parenb -parodd cs7 hupcl cstopb cread clocal -crtscts
>-ignbrk -brkint -ignpar -parmrk -inpck -istrip -inlcr -igncr icrnl ixon -ixoff
>-iuclc -ixany -imaxbel
>opost -olcuc -ocrnl onlcr -onocr -onlret -ofill -ofdel nl0 cr0 tab0 bs0 vt0 ff
0
>isig icanon iexten -echo echoe -echok -echonl -noflsh -xcase -tostop -echoprt
>echoctl echoke

 A robotot rendszerint DOS alol hasznalom amikor is ha elkuldtem egy
parancsot neki es azt eppen vegrehajtja akkor a soros port 6-os (modem
status register) registeret beolvasva annak 10H erteku bitje (CTS)
1-es ha a robot mar kepes ujabb parancsot fogadni es 0 ha meg nem
fejezte be az elozot.

Linux alatt tudok egy darab parancsot kuldeni illetve adatot fogadni
DE valahogy a szinkronizalas nem megy. Akar kepes a robot fogadni a
kovetkezo parancsot akar nem a Linux kuldi a szoveget (hiszen azt hiszi,
hogy valami terminal log a drot vegen).
Kerdeseim:

- Lehet-e ezen segiteni (remelhetoleg igen)?
- Lehet-e programbol feltenni a kerdest, hogy hogy all a CTS (neha
  szukseges tudni, hogy mi van, nem eleg ha csak az OS mindent megcsinal)?
- Meg lehet-e ezeket csinalni "standard" eszkozokkel vagy a kernel
  beleit kell atirni?
- Egyaltalan jo device-szal probalkozok vagy masik neven kellene
  keresni a megfelelo drivert?

Zsoter Andras
+ - 900 MHZ-es kerdes (mind) VÁLASZ  Feladó: (cikkei)

Tisztelt GURU tagok!

Van egy wireless szerkentyum, amely 900 MHz-en kuldozgeti a video es audio jele
ket. A problemam csak az, hogy a hatotavolsaga eleg keveske. Nos, mivel a trans
zmitter igen alapos FCC (Federal Communication Commission) szabalyzas ala esik,
 azon nem igazan lehet valtoztatni. De lehet-e novelni a hatotavolsagot ugy, ho
gy valamilyen jobb antennat hasznalnek a vevo oldalon, pl. olyant, amelynek van
 valamilyen iranykaraktrisztikaja? (az eredeti antenna csak egy 6-8 cm-es NYAK-
lapba maratott rezfoliacsik.) Szoval van valakinek valami elkepzelese ezzel kap
csolatban? (Gondolom, a boltban kaphato hagyomanyos antennaerositok nem 900 MHz
-re keszultek, igy nem igazan hasznalhatok.)

Udvozlettel: Andras
+ - Oprendszerekrol - viccesen (mind) VÁLASZ  Feladó: (cikkei)

Tisztelt kulonbozo oprendszer hivek!
  
 Egy erdekes darabbal szeretnek hozzajarulni az oprendszer vitahoz.
 Szerintem szorakoztato - es - tanulsagos (ezert kuldtem ide, es nem 
 a MOKA-ba :)  A tul komolyaktol elnezest, es bocs ha mar ismeros.

>>If operating systems were beers...
>>
>>DOS Beer:
>>Requires you to use your own can opener, and requires you to read the
>>directions carefully before opening the can. Originally only came in an
>>8-oz. can, but now comes in a 16-oz. can. However, the can is divided
>>into 8 compartments of 2 oz. each, which have to be accessed separately.
>>Soon to be discontinued, although a lot of people are going to keep
>>drinking it after it's no longer available.
>>
>>Mac Beer:
>>At first, came only a 16-oz. can, but now comes in a 32-oz. can.
>>Considered by many to be a "light" beer. All the cans look identical.
>>When you take one from the fridge, it opens itself. The ingredients list
>>is not on the can. If you call to ask about the ingredients, you are told
>>that "you don't need to know." A notice on the side reminds you to drag
>>your empties to the trashcan.
>>
>>Windows 3.1 Beer:
>>The world's most popular. Comes in a 16-oz. can that looks a lot like Mac
>>Beer's. Requires that you already own a DOS Beer. Claims that it allows
>>you to drink several DOS Beers simultaneously, but in reality you can
>>only drink a few of them, very slowly, especially slowly if you are
>>drinking the Windows Beer at the same time. Sometimes, for apparently no
>>reason, a can of Windows Beer will explode when you open it.
>>
>>OS/2 Beer:
>>Comes in a 32-oz can. Does allow you to drink several DOS beers
>>simultaneously. Allows you to drink Windows 3.1 Beer simultaneously too,
>>but somewhat slower. Advertises that its cans won't explode when you open
>>them, even if you shake them up. You never really see anyone drinking
>>OS/2 Beer, but the manufacturer (International Beer Manufacturing) claims
>>that 9 million six-packs have been sold.
>>
>>Windows 95 Beer:
>>New to the market, and a lot of people have taste-tested it and claim
>>it's wonderful. The can looks a lot like Mac Beer's can, but tastes more
>>like Windows 3.1 Beer. It comes in 32-oz. cans, but when you look inside,
>>the cans only have 16 oz. of beer in them. Most people will probably keep
>>drinking Windows 3.1 Beer until their friends try Windows 95 Beer and say
>>they like it. The ingredients list, when you look at the small print, has
>>some of the same ingredients that come in DOS beer, even though the
>>manufacturer claims that this is an entirely new brew.
>>
>>Windows NT Beer:
>>Comes in 32-oz. cans, but you can only buy it by the truckload. This
>>causes most people to have to go out and buy bigger refrigerators. The
>>can looks just like Windows 3.1 Beer's, but the company promises to
>>change the can to look just like Windows 95 Beer's - after Windows 95
>>beer starts shipping. Touted as an "industrial strength" beer, and
>>suggested only for use in bars.
>>
>>Unix Beer:
>>Comes in several different brands, in cans ranging from 8 oz. to 64 oz.
>>Drinkers of Unix Beer display fierce brand loyalty, even though they
>>claim that all the different brands taste almost identical. Sometimes the
>>pop-tops break off when you try to open them, so you have to have your
>>own can opener around for those occasions, in which case you either need
>>a complete set of instructions or a friend who has been drinking Unix
>>Beer for several years.
>>
>>AmigaDOS Beer:
>>The company has gone out of business, but their recipe has been picked up
>>by some weird German company, so now this beer will be an import. This
>>beer never really sold very well because the original manufacturer didn't
>>understand marketing. Like Unix Beer, AmigaDOS Beer fans are an extremely
>>loyal and loud group. It originally came in a 16-oz. can, but now comes
>>in 32-oz. cans too. When this can was originally introduced, it appeared
>>flashy and colourful, but the design hasn't changed much over the years,
>>so it appears dated now. Critics of this beer claim that it is only meant
>>for watching TV anyway.
>>
>>VMS Beer:
>>Requires minimal user interaction, except for popping the top and
>>sipping. However cans have been known on occasion to explode, or contain
>>extremely un-beer-like contents.  Best drunk in high pressure development
>>environments.  When you call the manufacturer for the list of
>>ingredients, you're told that is proprietary and referred to an unknown
>>listing in the manuals published by the FDA.  Rumours are that this was
>>once listed in the Physicians' Desk Reference as a tranquilliser, but no
>>one can claim to have actually seen it.

                                     Adam
                                     mailto:

U.I.: Felreertesek elkerulese vegett: nem az en szerzemenyem.
+ - Real time (mind) VÁLASZ  Feladó: (cikkei)

Zsoter Andras kerdezi, hogy:

>>Mi az, hogy "real time"?
>>(Marmint mitol real time egy rendszer vagy egy program?)
>>Olyan valakitol varok valaszt aki biztosan tud valami definiciot mert 
>>elmeletet gyartani en is tudok. ;-)

Elmeletet gyartani pedig sokkal erdekesebb, mint tenyeket kozolni.

A real-time-sag szerintem tobbfelekeppen is definialhato. Mi annak
idejen ugy tanultuk az oskolaban, hogy a rendszer valaszideje 
valamilyen meghatarozott ertek alatt marad.

Laikusoknak persze mast jelent, ezek lexikonbol valok:

******************************
real-time system

In computing, a program that responds to events in the world
as they happen. For example, an automatic-pilot program in an
aircraft must respond instantly in order to correct deviations
from its course. Process control, robotics, games, and many
military applications are examples of real-time systems.
******************************
real-time / re*al-time

adjective (Computer Science)  
(1) Of or relating to computer systems that update information 
at the same rate as they receive data, enabling them to direct 
or control a process such as an automatic pilot. 
******************************

Pongyolak, itt van egy masik:

******************************
Definition of Real-Time Systems

There are many ways to define a real-time system. Perhaps one of the 
most comprehensive  definitions is: "A real-time system is one in which
the correctness of the computations not only depends upon the logical
correctness of the computation but also upon the time at which the result
is produced. If the timing constraints of the system are not met, system 
failure is said to have occurred."

Example:  Consider the bottling equipment in a beverage plant. It's not
sufficient if the equipment attempts to cap bottles at regular time intervals.
If it's off by just a fraction of a second, then the bottle may not be capped
properly and the beer will be spoiled. That is, the time at which the machine
caps the bottle is a critical part of the process.

Practically speaking, this means that real-time applications fall into two
primary groups-those that are able to respond in "hard" real-time and other
"soft" real-time applications with requirements that are less severe. Simply
stated, a hard real-time operating system must, without fail, provide a
response to some kind of event within a specified time window. This response
must be predictable and independent of other activities undertaken by the
operating system on behalf of other tasks. Providing this response implies that
system calls will have a specified, measured latency period. Hard real-time
systems often employ specific hardware devices with special device drivers.
Using this definition, Microsoft  Windows NTTM Workstation is not a hard
real-time operating system. Windows NT Workstation is a general purpose
operating system that has the capability to provide very fast response times
but is not as deterministic as a hard real-time system requires.

In contrast, a soft real-time operating system is one that has reduced
constraints on "lateness" but still must operate quickly within fairly
consistent time constraints. That is, it must be "good enough" to service
events so that the response should be satisfied, on average. Windows NT meets
this definition.

In summary, there are very few applications which require a true real time
operating system. Most applications only need an operating system which is
"good enough" to meet certain requirements. In most situations, given all the
features these applications require,  Windows NT is probably the best system
available for most of these tasks.

***************************

Na, ezt nem mondom meg, honnan olloztam, mert meg eloiteleteid tamadnanak :-)

Udv,

Imre
+ - LILO es Delphi (mind) VÁLASZ  Feladó: (cikkei)

>>Ilyen "boot manager" pl a LILO, minden boot managerek
>>kozul a lejjobb :)

Az a kerdesem, hogy ez a LILO kizarolag Linuxos moka, vagy 
lehet hasznalni fuggetlenul is?

Mas: Delphi newsletter-rol volt valamikor szo, itt van egy, meg
a vegen arrol, hol van a neten Delphinfo:

***************************************

The following document is the first Delphi ListServ message.
You can subscribe to the Delphi list server by sending
a message to . The body of the message
should be:

subscribe Delphi FirstName LastName

where FirstName and LastName are your first and last names.

Delphi List Server Message 
Vol 1, Issue 1
Friday, Oct 13, 1995

	Welcome, to the first monthly Delphi list serve 
message. This information is being shepherded together by 
Delphi Developer Relations, but it will sometimes feature 
contributions from Product Management, Tech Support, and 
other Borland sources. The main purpose of the letter is to 
keep Delphi developers informed about the product, its future, 
related public events, and various technical matters.
	My name is Charlie Calvert, and I'm the Borland 
Delphi Developer Relations Manager. You can send 
suggestions for future list server messages to: 
. My goal is to keep these 
messages short, informative and useful.

..

Delphi Online
	There are many ways to get the latest information 
about Delphi. Below you will find a short list of key online 
sites:

  On the web: 
http://www.borland.com/Product/Lang/Delphi/Delphi.html
  On Compuserve: GO DELPHI
  On AOL: Use Keyword "Development", then go to the 
Message Board
  Internet Newsgroups:
    comp.lang.pascal.delphi.components
    comp.lang.pascal.delphi.databases
    comp.lang.pascal.delphi.misc
    alt.lang.delphi
    comp.lang.pascal
    comp.lang.pascal.borland
  Borland Delphi FTP Site
    
ftp://ftp.borland.com/pub/techinfo/techdocs/language/delphi/

***********************************************

Udv,

Imre
+ - Visual Basic & FoxPro (mind) VÁLASZ  Feladó: (cikkei)

Tisztelt Guruk!

Kapcsolatot keresek -Visual Basic & FoxPro- programozokkal.
Minden megoldas erdekel. Ha van ismeros, haver, rokon kerlek
E-Mail me!

Tivadar / 
+ - Win95 billentyuzet valtas (mind) VÁLASZ  Feladó: (cikkei)

Nem tudom ki hogy van vele, de nekem USA 101 gombos billentyzet van a gepemhez
kotve. a magyar es USA keyboard 
betoltese utan szepem megjelenik a taskbaron a kek alapon ket betu, am a magyar
verzio -ha esetleg valami furcsa okbol siekrul atkapcsonom ra- cak csipog es ne
m
hajlnado ekezetes betuket leocsalogatni a billentyuzetbol.
Mi lehet ennek az oka? 
lajos
+ - Real-time (mind) VÁLASZ  Feladó: (cikkei)

>Mi az, hogy "real time"?
>(Marmint mitol real time egy rendszer vagy egy program?)
>Olyan valakitol varok valaszt aki biztosan tud valami definiciot mert elmelete
t
>gyartani en is tudok. ;-)
>Zsoter Andras
Egy rendszer vagy program attol "real-time", hogy a valasz mindig a szukseges
idon belul tortenik. Pl. ha egy ATM (automatic teller machine)-nal allsz, akkor
ha a penz azonnal kijon, ahogy kered, az "real-time". Foleg a vezerlo
rendszereknel hasznaljak ezt a kifejezest, ahol nagyon fontos, hogy a kimenet
kovesse a bemenetet (input-output). Pl. ha a pilota jelezi a repulonek, hogy
balra kell fordulnia, akkor a repulonek az illetekes szamitogepe ezt azonnal
(hasznos idon belul) vegre kell hajtsa. Vagy  ha egy impulzus sorozatot szamol 
a
szamitogep, ha egyet is elveszt (mert tul lassu), fuccsba ment az eredmeny.  Im
e
egy idezet Edwin Klingman: Microprocessor Systems Design c. konyvebol (Prentice
Hall,1977):"Real-time applications form a special class of problems for
computers in that there is a maximum time allowable for solution. Although 10
seconds may be a reasonable time for a customer to wait for a credit check, 10
milliseconds may be too much time for a computer to respond to a danger
interrupt if the system being monitored is a nuclear powre plant or a jet
aircraft. Thus, the nature of the problem defines real-time systems as distinct
from those problems that merely massage data"

Farkas D. Gabor
+ - GUI konyvtar DJGPP-hez (mind) VÁLASZ  Feladó: (cikkei)

Kedves GURUk!

  Tud e valaki DJGPP-hez GUI (Graphical User Interface) konyvtarat?
Nem olyanra gondolok mint a GRX konyvtar, amiben csak a grafikai
primitivek vannak meg, hanem olyanra, amivel mindjart ablakokat meg
gombokat stb. lehet csinalni.

Udvozlettel

              Buki Andras
+ - X-BTOA Kodolo program kellene (mind) VÁLASZ  Feladó: (cikkei)

Szuksegem volna egy X-BTOA kikodolo programra, mert nem tudom elolvasni az 
igy kapott levelemet.
Kerem maganlevelben kuldjek a valaszt a kovetkezo cimre>



Koszonom
Andor
+ - real time, assmebly guru (mind) VÁLASZ  Feladó: (cikkei)

Kedves Guruk!

1. A real time szerintem kb. pontos definicioja a kovetkezo:
Minden multitaszkos rendszerben van valami ketyere, ami utemezi
a programokat (eldonti, hogy a legmagasabb prioritasu progik
kozul melyik indul el kovetkezonek).
Idoosztasos rendszerben fut egy progi egy idoszeletig, jon
a megszakitas (timer) elindul az utemezo, kivalaszt egy
progit es azt inditja el a kovetkezo idoszeletben.
A real time ezekben a rendszerekben ket dolgot is jelent:
 - a lehetseges prioritasi osztalyok kozul a legmagasabbakat
 - olyan progit, amitol nem veszi el az utemezo a processzort
   addig, amig a progi futaskepes, hiaba jart le az idoszelete
A ket dolog rendszerint egyutt jar. Ezek a progik akkor allnak
le, ha valamilyen esemenyre varnak, vagy befejeztek a dolgukat.
(Esemeny: io muvelet vege diszken, terminalon, akarhol, stb.)

2. ASM guru helyett:
A tavalyi chip cd-n van ket nagyon szuper pelda progi 386 
extended modban. Eleg rovidek, de kivalo peldak. 
ASM32 vagy valami hasonlo cimen keresd.

3. MBR, particios tabla

Az MBR a diszk legelso szektoraban ul (nem  a bootszektorban)
Az MBR egy apro kis program, ami megnezegeti a particios tablat,
es kikeresi az aktiv particiot, annak kezdetet a diszken.
Betolti az aktiv particiorol a bootsectort es atadja neki 
a vezerlest. Mivel 4 primary particio lehet egy lemezen
(a dos ugyan csak egyet hajlando csinalni, de ezert vannak
jobb rendszerek, pl. linux) ezert negy kulonbozo boot
op.sys-ed lehet, ha nem buzeralod at (lilo, stb.).
Az MBR tartalmazza:
- a lemezed adatait
- az indito kodot
- a lemez sorszamat formazaskor (idiotizmus, mert igy nem lehet 
  olyan diszkrol bootolni, amit nem C-kent formaztal fel)
- particios tablat

Happy Hacking!

Buci
+ - Re: MAPLE (?) (mind) VÁLASZ  Feladó: (cikkei)

 wrote:
: Segitsetek nekem! Tud valaki a halozaton MAPLE-t vagy
: Mathematica-t LINUX ala? Nem feltetlenul ellopni a-
: karjuk (akarom). Egy Alapitvany vagyunk, hatranyos
: helyzetu fiatalok oktatasaval foglalkozunk. Windows
: ala van ugyan Maple, de UTALJUK A WINDOWS-t, mert
: FOLYTON LEAFAGY valamiert.

Van Linux ala Maple, persze jo penzert, errol nemreg volt itt szo.  Viszont
van egy Maple-hoz hasonlo ingyenes program, a MuPAD.  En meg nem nagyon
hasznaltam, ugyhogy nem tudok se jot se rosszat mondani rola.  XView grafikus
interface van hozza, es a manualt nezegetve ugy tunik, hogy gyonyoru arnyalt
feluleteket lehet vele abrazolni, tud integralni (simbolikusan),
diffegyenleteket megoldani stb.  Kinezetre, es kezeleseben is nagyon hasonlo a
Maple-hoz.  16 Mega memorianal kisebb gepre nem ajanlott (de ez a Maple-re is
igaz).  Megtalalhato az ftp://sunserv.kfki.hu/pub/linux/apps/math/MuPAD/ alatt
de a hivatalos MuPAD site mas Unix platformokra is tartalmaz binarisokat.  Azt
hiszem keszul a Windows port is (de ebben nem vagyok biztos, mert nem
hasznalok MS Windowst).

Zoli

AGYKONTROLL ALLAT AUTO AZSIA BUDAPEST CODER DOSZ FELVIDEK FILM FILOZOFIA FORUM GURU HANG HIPHOP HIRDETES HIRMONDO HIXDVD HUDOM HUNGARY JATEK KEP KONYHA KONYV KORNYESZ KUKKER KULTURA LINUX MAGELLAN MAHAL MOBIL MOKA MOZAIK NARANCS NARANCS1 NY NYELV OTTHON OTTHONKA PARA RANDI REJTVENY SCM SPORT SZABAD SZALON TANC TIPP TUDOMANY UK UTAZAS UTLEVEL VITA WEBMESTER WINDOWS