Tuesday, 17 March 2015

Science

Pada mulanya manusia hanya mengenal penggaris dan jam pasir.

Kemudian manusia curios, dia menjatuhkan sebuah benda dari ketinggian:
jika h = 10m, maka t = 10 detik
h = 10 ->  t = 10 detik
h = 5 m -> t = bukan 10/2

manusia kira bahwa waktu akan menjadi setengah dari waktu ketika ketinggian 10 meter ternyata tidak, manusia terkejut. Mereka berfikir kecepatan akan konstan ternyata tidak. Ternyata ada suatu variabel yang mereka belum pahami saat itu.

Monday, 16 March 2015

OS Dev

1. Download BOSCH bosch.sourceforge.net
2. Download virtual floppy drive pada vfd.sourceforge.net
3. Download NASM pada www.nasm.us

1. Install BOSCH.
2. Copy ZIP files ke folder OS Dev kamu.
3. Install NASM .
4. Copy nasm.exe dan nasmpath.exe ke folder OS Dev kamu.

5. Tulis kedalam notepad boschsrc simpan ke folder programfiles BOSCH kamu. Kalau punya saya ada di: 
C:\Program Files (x86)\Bochs-2.6.5



Operating system is a bundle of software which let the user interact with hardware.

Sunday, 15 March 2015

Pseudocode of server scripting

Actor:
1. Google chrome web browser
2. An humble txt file
3. My own building IDE


Pseudocode
1. User klik a button in our http://something.html
2. Browser write "hello" to a file
3. IDE read that file (looply, every 1ms)
4. IDE read that file
5. IDE write "hello too.."
6. Web browser print that file to its browser

Explain the pseudocode
1. User klik a button
Build a webpage with 1 input button and 1 input text.

Jumlah, jumlah, jumlah

Jumlah alfabet 26
Jumlah warna dasar 12
Jumlah not musik standard adalah 12
Jumlah bulan adalah 12
Jumlah bit 1 karakter adalah 8 bit.

Yang mana Width yang mana Height

PENGERTIAN

Height (H) adalah tinggi; yang keatas dan kebawah / vertikal.
Weight (VV) adalah lebar; yang ke kiridan ke kanan / horizontal.

NOTASI

Notasi width dan height biasanya ditulis: width x height.
Contoh:
800x600 --> 800 pixel ke kanan, 600 pixel keatas, dengan total jumlah pixel 480000 pixel.

Jadi, melebar dulu baru memanjang. Kebalikan dari Biologi tubuh manusia; memanjang dulu baru melebar; pertumbuhan primer dulu baru pertumbuhan sekunder.

RASIO (RATIO)

Rasio atau perbandingan antara width dan height atau width / height adalah:
Normal screen aspect ratio = 4/3
Wide screen aspect ratio = 16 x 9 dan 16 x 10



Assembly
1. Access all the functions/registers of ATMega328
2. Working with the program counter and the stack
3. No predefined data types
4. working directly with address or pointers

Directive:
1. Define global variables
2. Create data
3. Specify address
4. Determine what header files tobe included
Contoh:
.set untuk mendefenisikan variabel.
.equ untuk constants.

Symbols: names for values or addresses

Syntax specific addressing modes

Numerical values:
1.Decimal
2. Biner
3. Hex

Comments

Assembly code forms
Everyline of code should be one of the following
1. [label:] directive [operands] [comment]
2. [label:] instruction [operands] [Comment]
3. comment
4. Empty line

OPERANDS
1. can be a labels
2. variables defined by the .set directive
3. constants defined by the .equ directive
4. integer constants:
- Decimal: 10, 255
- Hex : 0x0a, or $0a
- Binary : 0b00001010
5. Program counter (PC)