Shared Flashcard Set

Details

Mar2 Final-1
klaslas
32
Art/Design
3rd Grade
10/14/2009

Additional Art/Design Flashcards

 


 

Cards

Term
Which video modes use palettes?
Definition
0, 1, 2, 4
Term
Which of these is true about GBA architecture?
Definition
Processor - 32-bit ARM7 16.7 MHz
Memory = 3,072 kBits
Display - 240 X 160
Colors - 32,768
No Operating System
Complete control over the hardware at lowest level
Maximum Control and Maximum Responsibility
Each EXE must contain all code
Changes happen by writing to hardware registers
Writing a bit in Video Memory will change the display
Term
DMA can be used to transfer memory the following ways
Definition

16
32
increment after transfer
decrement after transfer
Leave unchanged
Transfer Immediately
Transfer on HBlank
Transfer on VBlank
increments by 2 or 4 bytes

increment then reset

Term
Which of these is true about IWRAM
Definition
fastest memory in GBA
Ideal for running ARM code
Only memory directly accessible on 32 bit internal data bus and 32 bits at a time
Term
How many keys or buttons does the GBA have for input?
Definition
10
Term
When accessing the Game Cartridge ROM, speed is represented by 3/1. What do these numbers mean?
Definition
Select an address/transfer data
Term
How many total palettes can be available at any one time?
Definition
32
Term
The GBA processer has which of these?
Definition
Hardware Multiply
Three stage pipeline
No hardware divide or floating point support
Term
How much data can you transfer with DMA in each count?
Definition
16bits
32 bits
Term
Both the screen refresh rate and your game's fps will be constant at 60. True or False, and why?
Definition
False. It's drawing at 60fps but not refreshing at 60fps.
Term
What sequence would be used to get 1 bit for each key?
Definition
(~REG_KEY & 0x03FF)
Term
In the RGB macro, what does 0x1F do?
Definition
Limit the three colors to 5 bits
Term
Since GBA CPU is a CISC processor, we can manipulate multiple data items in memory at once. True or false?
Definition
The GBA processor is a RISC processor, so false
Term
The DMA controller takes over the hardware by halting the CPU
Definition
TRUE
Term
Which could you add at the begining of the Wait4VBlank function code to ensure that if you call it twice in a row, you would wait for the next vertical blank?
Definition
While(REG_VCOUNT == 160){}
Term
In video 4, you can write one byte of pixel info into video memory using one assignment instruction
videobuffer[y * 240 + x] = color;
Definition
FALSE, video memory must be written in shorts. Pull out individual short find out what byte to change then write that short back.
Term
What is the system bus bit depth of the GBA
Definition
32 bit
Term
When you did the double buffer lab using video mode 3, which function needed to be called after the Draw_WaitVBlank function?
Definition
Draw_Present();
Term
Which CPU does the GBA use?
Definition
ARM7 16.7 MHz
Term
What is the purpose of this code?
#define REG_VCOUNT *(volatile unsigned short*)0x04000006
WHile REG_VCOUNT != 160{}
Definition
Wait until GBA is on the first line of the vertical blank.
Term
For the GBA's color, there are bits for BGR
How many bits are for each color?
Definition
5 bits each
Term
Which line of code would draw a pixel correctly in video mode 4, for an odd x?
Definition
videoBuffer[offset] = (color << 8) | videoBuffer[offset] & 0x00FF);
Term
Which hardware register do you change to force the display to go blank?
Definition
0x4000000 REG_DISPCNT (display control)
Term
What are the different byte widths that can be copied per count using DMA
Definition
2, 4
Term
Which GBA color format values are the same?
Definition
0x7FFF
0xFFFF
Term
The game's executable is run directly from the cartridge, true or false?
Definition
TRUE
Term
You will potentially cause visual artifacts if you update video memory during the vertical draw period. True or False?
Definition
TRUE
Term
The GBA screen refreshes at fixed intervals with both horizontal and vertical blank periods.
Definition
TRUE
Term
Which one of these do you not enable in the display control register?
Definition
Palettes
Term
Which code waits for the begining of the VBlank period?
Definition
While(REG_VCOUNT != 160){}
Term
Which video modes have a hardware double buffer?
Definition
4, 5
Term
What are the dimensions in pixels of the GBA screen?
Definition
240X160
Supporting users have an ad free experience!