18 Aralık 2007 Salı

asm51.exe

yeni web sitemin adresi............:
 
8051 assembler compiler asm51.exe yi buradan indirebilirsiniz...
 
iyi eğlenceler...

7 Kasım 2007 Çarşamba

INTEL HEX FILE FORMAT

INTEL HEX FILE FORMAT


(Intel Hexadesimal Dosya Formatı)

:llaaaatt[dd...]cc

Each group of letters corresponds to a different field, and each letter
represents a single hexadecimal digit. Each field is composed of at
least two hexadecimal digits-which make up a byte-as described below:

* *:* is the colon that starts every Intel HEX record.
* */ll/* is the record-length field that represents the number of
data bytes (*dd*) in the record.
* */aaaa/* is the address field that represents the starting address
for subsequent data in the record.
* */tt/* is the field that represents the HEX record type, which may
be one of the following:
*00* - data record
*01* - end-of-file record
*02* - extended segment address record
*04* - extended linear address record
* */dd/* is a data field that represents one byte of data. A record
may have multiple data bytes. The number of data bytes in the
record must match the number specified by the *ll* field.
* */cc/* is the checksum field that represents the checksum of the
record. The checksum is calculated by summing the values of all
hexadecimal digit pairs in the record modulo 256 and taking the
two's complement.


Data Records

The Intel HEX file is made up of any number of data records that are
terminated with a carriage return and a linefeed. Data records appear as
follows:

:10246200464C5549442050524F46494C4500464C33

This record is decoded as follows:

: 10 2462 00 464C5549442050524F46494C4500464C 33

| || |||| || |||||||||||||||||||||||||||||||| CC->Checksum

| || |||| || DD->Data

| || |||| TT->Record Type

| || AAAA->Address

| LL->Record Length

:->Colon

where:

* *10* is the number of data bytes in the record.
* *2462* is the address where the data are to be located in memory.
* *00* is the record type 00 (a data record).
* *464C...464C* is the data.
* *33* is the checksum of the record.

http://www.keil.com/support/docs/1584.htm sitesinden alintidir...

3 Kasım 2007 Cumartesi

28 Ekim 2007 Pazar

8051 mcs...

begin:vcard
fn:http://macroasm.googlepages.com/
n:;http://macroasm.googlepages.com/
email;internet:macroasm@gmail.com
version:2.1
end:vcard

8051 ailesi, INTEL firması tarafından 1980'lerin başında piyasaya
sunulan dünyanın en
popüler 8-bit mikrokontrolör ailesidir. INTEL 'den sonra, bu MCU (Micro
Controller Unit)
ailesi ile uyumlu olarak, başta PHILIPS, SIEMENS, ATMEL, DALLAS, OKI,
HYUNDAI/HYNIX, WINBOND olmak üzere pek çok üretici firma türev işlemciler
üretmiştir. Bunlardan başka kendi özgün mikrokontrolör ailelerini üreten
ST, TEXAS INS.
gibi çeşitli büyük üreticiler bile 8051 uyumlu MCU lar geliştirmiş ve
pazara sunmuştur.
Internet de yapılan bir araştırmada 55'in üzerinde 8051 üreticisi
belirlenmiştir. Bu firmalara
ait bir liste bölüm sonunda yer almaktadır. KEIL, IAR, NOHAU, TASKING vb
başta olmak
üzere çok miktarda diğer firma ise geniş bir donanım ve yazılım
geliştirme araçları desteği
sunmuştur. Bunun sonucu olarak 8051 ailesi, 1980'lerden bugüne bir
endüstri standardı
olmuştur.
http://macroasm.googlepages.com

19 Haziran 2007 Salı

google arama motoru...

<!-- Search Google -->
<center>
<FORM method=GET action="http://www.google.com/search">
<TABLE bgcolor="#FFFFFF"><tr><td>
<A HREF="http://www.google.com/">
<IMG SRC="http://www.google.com/logos/Logo_40wht.gif" border="0"
ALT="Google" align="absmiddle"></A>
<INPUT TYPE=text name=q size=31 maxlength=255 value="">
<INPUT TYPE=hidden name=hl value="en">
<INPUT type=submit name=btnG VALUE="Google Search">
</td></tr></TABLE>
</FORM>
</center>
<!-- Search Google -->

18 Haziran 2007 Pazartesi

GetSystemVersion();

apiGetInfoFromVersion = Win32API.new("version", "VerQueryValue",
['p','p','p','p'], 'v')
msgp = DL.malloc(DL.sizeof('P'))
infoBufferLength = DL.malloc(DL.sizeof('P'))
apiGetInfoFromVersion.call(infoVersion, "\\", msgp, infoBufferLength)

win32 api programming...

IDM_ABOUT should be in your resource.h file as well, WM_COMMAND and WM_CREATE are windows messages, and are defined in winuser.h which you include automatically by including windows.h. You shouldn't change these, because the values they represent are used internally in Windows for message handling. If you change these your Window won't do much.

With Windows programming, there has to be a way for the coder to determine what should happen when a user clicks a button, types text in a text box, moves a window, minimizes the window, slides a scroll bar, closes the window, etc. While you might not use all of these at the same time (or any of them if you want), you will probably use them at least once in the course of Windows programming in general. To cope with this, Windows uses a message loop. This is typically in your WinMain function and consists of something like

MSG msg;

bool bFinish = false;

while(!bFinish)

{

if(PeekMessage(&msg, hWnd, 0, 0, PM_NOREMOVE) )

{

GetMessage(&msg, hWnd, 0, 0);

TranslateMessage(&msg);

DispatchMessage(&msg);

}

DoOtherStuff();

DoMoreOtherStuff();

}

When the program hits PeekMessage it checks the message queue (each button press and radio button change, or window movement, or window minimize adds a message to the message queue) to see if there's any messages there (PM_NOREMOVE means it just checks and returns true if there is a message waiting, but does not remove the message). We then hit GetMessage which retrieves the message and removes it from the queue (the difference between GetMessage and PeekMessage is basically that Peek gives you the option of not removing messages, and if there are no messages in the queue it will just return false, with GetMessage if there's no messages in the queue it will wait until there is a message. For a simple Windows program that doesn't matter and you can just use something like while(GetMessage(&msg, hWnd, 0, 0)) but if you want to do extra processing in between, eg in a game where something is constantly updating, you need to be able to access the main loop every time it runs, and dont' want to be sitting around waiting for Windows messages). Once it has retrieved a message, it puts it in TranslateMessage which changes certain aspects of it, basically making it more user friendly. Although not essential, I use it every time. DispatchMessage then does the next important thing, sends the translated message to your WndProc function.

This is the function that was named in the WNDCLASS or WNDCLASSEX structure when the window was first created. It passes in a handle to the window that called it (more than one window can share the same wndproc if they name it when they register the class), a UINT which is the Windows message that has been sent (more on that in a sec), a WPARAM which is mostly used for passing in extra data as values, and an LPARAM which tends to be used as a pointer to various structs that are used.

Inside your WndProc you will have something like switch(msg) and then lots of cases. This is where WM_COMMAND comes in. When you press a button or a radio control or in fact use any control on a dialogue, if it sends a message it will send it via the WM_COMMAND message. In the WPARAM it stores the value of the control (the unique identifier such as IDC_TEXT) but it stores it in the loword. Don't worry about this too much, all you need to know is that once you have a case WM_COMMAND: you have to have below it a switch(LOWORD(wParam)) or whatever your WPARAM is called, then you can use the switch statement to switch between cases and find the right control. Eg. You have a button called IDC_PRESSME and you want to check when it's pressed. That's easy, first you need a switch to find if a WM_COMMAND message has been sent, then you check which specific control it is, like so..

LRESULT CALLBACK WndProc(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam)
{

switch(msg)
{

case WM_COMMAND:

switch(LOWORD(wParam))
{

case IDC_PRESSME:

DoSomething();

break;
}

break;

default:

return DefWindowProc(hWnd, msg, wParam, lParam);

break;
}

return 0;
}

I hope that helps to give you an idea how it works, basically everything in windows has a UID, and you use that in message loops and in creating windows and controls from resources.

If I've done anything stupid don't laugh at me, it's early.

chakra renk terapisi...

Kaynağını güneşten alan ışık, elektromanyetik enerjilerle doludur. Bu enerjiler dünyadaki doğal hayatı ettirirler. Bitkilerdeki fotosentez olayı bunun en somut kanıtıdır. Ayrıca canlıların temel yapı taşı olan hücreler, aralarında haberleşmek için “biofoton” adı verilen ışığı kullanırlar. Işık eksik ve yetersiz olduğunda, canlılar yeterli hayat enerjisini alamayacaklarından kendilerini sağlıksız ve mutsuz hissederler. Renk terapisi, metabolizmada sağlıklı bir denge sağlamak için renk enerjilerinden faydalanma işlemidir. Renk terapisinin, fiziksel ve ruhsal olmak üzere iki türlü faydası vardır.

Araştırmalar göstermiştir ki, insanda bedenini kuşatan elektromanyetik bir alan vardır. Kirlian fotoğrafı ile bu alan rahatlıkla görülebilmekte ve hastalık teşhisi yapılabilmektedir. İnsan bedenini kuşatan elektromanyetik alana Aura veya enerji beden adı verilmektedir. Bedenimizi bulut gibi saran bu enerji alan; ışık, elektrik, ısı, ses, manyetik ve elektromanyetik etkiler ile sürekli olarak etkileşim halindedir. Ayrıca bu enerji alanı içinde yedi adet de, chakra adını verdiğimiz enerji dağıtım merkezleri vardır. Chakra eski Hint dilinde tekerlek anlamına gelir. Chakralar enerji bedende omurga üzerine sıralanmış ve her biri bir hormon bezine tekabül eden yedi adet güç merkezidir. Chakralar daha yüksek enerjileri emen ve onları beden tarafından kullanılır hale getiren döner enerji merkezleridir. Bedene giren ve beden tarafından yayılan enerjilerin oranlarını düzenlerler. Ayrıca bedendeki fiziksel, duygusal, zihinsel ve ruhsal fonksiyonların yerine getirilmesi için gerekli olan enerjiyi emerek, bunları ihtiyaç duyulan bölgelere dağıtırlar. Her bir chakra ayrı bir renge sahiptir. Enerji merkezleri kanalıyla emilen enerjilerin vücuda yayılması, dolaşım ve sinir sistemlerinin yardımıyla gerçekleşir. Bu yolla tüm organlar, dokular ve hücreler bu enerjilerden eşit olarak faydalanmış olurlar. İnsanı ayakta tutan bütün bu sistemler chakralara karşılık gelen renklere karşı duyarlıdırlar.

Her chakra vücudun değişik bölgesine enerji taşır. Ancak vücut bir bütün olduğundan, tüm vücut birbirine bağlı olarak çalışır. Bu enerji kapılarından birinde sorun olduğunda (kapanma, yetersiz çalışma ya da aşırı çalışma), bedene enerji akışı tam olamaz ve hastalıklar baş gösterir.

17 Haziran 2007 Pazar

öss soru ve yanıtları...

ÖSS sorularının yanıtları

17.06.2007 - 15:13:42


ÖSS sorularının yanıtlarını veriyoruz Basına dağıtılan kitapçıktan yanıtlar

ÖSS sorularının yanıtları

1. soru : D , 2. soru: E, 3. soru: A, 4- D, 5- A, 6- C, 7- C , 8- A, 9- E, 10- A, 11- B, 12- C, 13- D, 14- B, 15- C, 16- E, 17- B, 18- D, 19- B, 20- C, 21-D, 22- A, 23-A, 24- B, 25- C, 26- E, 27- B, 28- A, 29-D

SOSYAL -1

1- 1- E , 2- E, 3-A, 4-A, 5-D, , 6-B, 7-B, 8-C , 9-D, 10-A, 11-D,

12- C, 13-E, 14, C, 15-D, 16-A, 17-B, 18-C, 19-E, 20-D, 21- E

22- A, 23-B, 24-C, 25- A, 26-B, 27- C, 28- E, 29- D, 30- B

MATEMATİK- 1

1-

2-A

3-

4-c

5-D

6-E

7-D

8- D,

9-B, 10- E, 11- A, 12-D, 13-B, 14-D, 15-E, 16-B, 17-D, 18-B

19-E, 20-C, 21-C, 22-B, 23-C, 24-A, 25-C, 26-A, 27-E, 28-C, 29-A, 30-D

FEN BİLİMLERİ -1

1- B, 2-A, 3-E, 4-D, 5-A, 6-C, 7-D, 8-A, 9-B, 10-C, 11-E,

12-B, 13-C, 14-D, 15-B, 16-E, 17-A, 18-C, 19-C, 20-B,

21-E, 22-E, 23-D, 24-A, 25-E, 26-B, 27-C, 28-A, 29-A, 30-C

TÜM SORU VE CEVAPLARI AYNI ANDA İNDİRMEK İÇİN BU LİNKLERİ KULLANABİLİRSİNİZ

ÖSS 2007 TÜRKÇE SORULARI

ÖSS MATEMATİK 1 SORULARI

ÖSS FEN BİLİMLERİ 1 SORULARI

ÖSS SOSYAL BİLGİLER 1 SINAVI İÇİN TIKLAYIN

ÖSS EDEBİYAT SINAVI İÇİN TIKLAYIN

ÖSS MATEMATİK 2 DENEME SINAVI İÇİN TIKLAYIN

ÖSS SOSYAL BİLGİLER 2 SINAVI İÇİN TIKLAYIN

ÖSS FEN BİLİMLERİ 2 SINAVI İÇİN TIKLAYIN

ÖSS CEVAP ANAHTARI İÇİN TIKLAYIN

Bu haber 5 defa okundu.

Kaynak :
Tarih : 17.06.2007 - 15:13:42