Notes, summaries, assignments, exams, and exercises for Computer science for Other courses

K-Lite Codec Tweak Tool Log File: System and Filter Details

Computer science4.53 KB

K-Lite Codec Tweak Tool | Log File | Generated at 2009-07-28 17:58:37



System Information



KLCP: 462 full
OS: Microsoft Windows XP Service Pack 3 (5.01.2600)
DirectX: 9.0c
CPU name: AMD Athlon(tm) 64 Processor 2800+
CPU speed: 1799MHz
Memory: 1152MB
Screen size: 1024x768 (32 bits)
Video card: VIA/S3G UniChrome Pro IGP, 32MB
Audio card: Realtek AC97 Audio


DirectShow Filters



Description: Haali Media Splitter
File name: c:\archivos de programa\k-lite codec pack\filters\haali\splitter.ax
CLSID: {55DA30FC-F16B-49FC-BAA5-AE59FC65F82D}
Merit: 00800001 = MERIT_PREFERRED + 1

Description: Haali Media Splitter (AR)
File name: c:\archivos de programa\k-lite codec pack\filters\haali\splitter.ax
CLSID: {564FD788-86C9-4444-971E-CC4A243DA150}
Merit: 00400000 = MERIT_UNLIKELY

Description:

...
Continue reading "K-Lite Codec Tweak Tool Log File: System and Filter Details" »

8085 Microprocessor Architecture and Instructions

Computer science3.83 KB

Subroutines and Control Instructions

A subroutine is a group of instructions written to perform a specific task. It can be called from different parts of a program using the CALL instruction, and after execution, it returns to the main program using the RET instruction.

Example:

CALL 2500H ; Call subroutine at address 2500H

2500H: INR A ; Increment accumulator

RET ; Return to main program

  • CALL 2500H transfers control to address 2500H.
  • The instructions at 2500H are executed.
  • RET returns control to the instruction immediately after CALL.

Unconditional Jump (JMP)

Example: JMP 3000H (Assembly Language)

  • The CPU immediately jumps to memory address 3000H.
  • Execution continues from 3000H.
  • No flag (Zero, Carry, Sign, etc.) is checked.

Interrupts and Control Signals

RST

...
Continue reading "8085 Microprocessor Architecture and Instructions" »

8085 Microprocessor Addressing Modes and Registers Explained

Computer science2.84 KB

Addressing Modes in 8085 Microprocessor

Addressing modes refer to the ways in which an instruction specifies the location of its data (operand). The 8085 microprocessor supports several addressing modes to access data efficiently based on program needs. Understanding these modes is essential for instruction execution and memory handling in assembly programming.

1. Immediate Addressing Mode

In this mode, the actual data (operand) is provided directly within the instruction itself. The processor does not need to fetch data from memory. It is fast and commonly used for initialization.

  • Example: MVI A, 25H ; Load 25H directly into register A

2. Register Addressing Mode

The operand is stored in a CPU register. The instruction specifies the register where...

Continue reading "8085 Microprocessor Addressing Modes and Registers Explained" »

8051 Microcontroller Architecture and Flip-Flop Types

Computer science288.82 KB

SR Flip-Flop (Set-Reset Flip-Flop)

The SR flip-flop is one of the simplest sequential circuits and serves as a fundamental building block for more complex flip-flops. It is a 1-bit memory device with two inputs: Set (S) and Reset (R). It has two outputs, Q and its complement Q̅ (Q with overline).

Logic Diagram and Working

An SR flip-flop can be constructed using two cross-coupled NAND gates (or NOR gates). Below is the working principle for the NAND-gate implementation:

  1. Set Condition (S = 0, R = 1):

    • When S = 0, the output of the top NAND gate (Q) is forced to 1 (since NAND is the inverse of AND).

    • This Q = 1 is fed into the bottom NAND gate with R = 1; the bottom gate's inputs become 1 and 1, so its output (Q̅) becomes 0.

    • The circuit is now in the

...
Continue reading "8051 Microcontroller Architecture and Flip-Flop Types" »

8051 Microcontroller: LCD Interfacing and ADC0804 Control

Computer science2.51 KB

LCD Interfacing with 8051

#include <reg51.h>

sbit rs = P2^0;
sbit rw = P2^1;
sbit e = P2^2;

void msdelay(unsigned int time) {
    unsigned int i, j;
    for(i = 0; i < time; i++)
        for(j = 0; j < 1275; j++);
}

void lcd_cmd(unsigned char command) {
    P1 = command;
    rs = 0;
    rw = 0;
    e = 1;
    msdelay(1);
    e = 0;
}

void lcd_init() {
    lcd_cmd(0x38); // 2 lines and 5x7 matrix
    msdelay(10);
    lcd_cmd(0x0F);
    msdelay(10);
    lcd_cmd(0x01);
    msdelay(10);
    lcd_cmd(0x80);
    msdelay(10);
}

void lcd_data(unsigned char disp_data) {
    P1 = disp_data;
    rs = 1;
    rw = 0;
    e = 1;
    msdelay(1);
    e = 0;
}

void main() {
    unsigned char a[4] = "KTU";
    int l = 0;
    lcd_init();
    while(
...
Continue reading "8051 Microcontroller: LCD Interfacing and ADC0804 Control" »

10 Good Deeds of Web Design and Object-Oriented Design Principles

Computer science3.23 KB

10 Good Deeds in Website Design

  1. Place the organization name and logo on every page and make the logo a link to the home page.
  2. Provide a search function if the site has more than 100 pages.
  3. Write straightforward and simple headings and page titles that explain the content.
  4. Structure the page to facilitate reader scanning.
  5. Instead of cramming everything about a product, use hypertext to structure the content.

3 Broad Aspects of Web Design

  1. Designing for the computer medium
  2. Designing for the whole site
  3. Designing for the user

3 Design Patterns

  1. SINGLETON: Ensures that only one object of a given class is created.
  2. ADAPTER: An example of the indirection design principle (like an electrical adapter).
  3. OBSERVER: Allows two objects to be linked dynamically.

Statechart

Used...

Continue reading "10 Good Deeds of Web Design and Object-Oriented Design Principles" »