亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? hardware.txt

?? 著名SFC模擬器Snes9x的源代碼。
?? TXT
?? 第 1 頁 / 共 2 頁
字號:
This document gives a brief description of the known hardware features of theSNES giving you some idea what SNES emulation authors are up against.Quick Overview--------------o 65c816 CPU running at up to 3.58MHz.o SPC700 CPU core running at 2.48MHz with built-in custom sound digital  signal processor.o Two custom graphics processors used to produce displays of up to 512x478  pixels with up to 32768 colours, 128 sprites, scaling, rotation, and mosaic  effects, scrolling over a virtual screen, transparency, coloured lens and  window effects and raster effects.o 128k work RAM, 64k sound CPU RAM and 64k video RAM.Game packs can include:o Up to 6MBytes (or more) of ROM containing the game code, graphics and sound  data.o Additional, battery-backed RAM (S-RAM) used to save game positions.o 10.5/21MHz RISC CPU (Super FX) used to implement some 3D games and add  special effects to games.o A maths co-processor (DSP1) used by some games with lots of physics  calculations involved (Pilot Wings) or mainly as a protection device  (Mario Kart).o Other custom chips produced by some software companies to help speed up  games, fit more graphics into a given sized ROM or act as a protection  device.Users could buy:o A five player adapter, allowing up to five people to play at once on games  that supported it.o A 2-button mouse, originally supplied with a paint program.o A light-gun that looked like riffle; it used infra-red to provide wire-less  communication between the gun and the console unit. About 10 games  supported it.o A GameBoy adapter that allowed the owners to play GameBoy games on their  SNES, some in colour.o Copier units that plugged into the cartridge slot on the SNES and allowed  game pak ROMs to be downloaded into RAM on the copier and saved onto  disk. The game could then be played without the original ROM being present  - unless the game pack contained additional hardware, or the game ROM code  tried to detect the copier being present and deliberately crashed the game.More Detail-----------65c816------The 65c816 is an 8/16-bit CPU that is basically an enhanced 6502: it evenhas an emulation mode to make it behave almost exactly like a real 6502. Nodoubt Nintendo were hoping to provide a compatibility mode for old NESgames, but failed.The CPU features a 24-bit address bus and 8-bit data bus allowing a 16Mbaddress space. It has an accumulator and two index registers, all can beswitch to either 8 or 16-bit mode.The address space is broken up into 256 banks, each bank being 64k in size,although there are addressing modes to treat the entire address space as onecontinuous block. Bank 0 is special in that the stack, a few addressingmodes and the interrupt and reset vectors all reside there. The stackpointer is 16-bits wide.The 6502 has an addressing mode called zero-page, where the 1-byte addressspecified in the instruction refers to a location in the first 256 bytes ofmemory, allowing for 2-byte instructions and increased execution speed. The65c816 extends this idea by allowing the 'zero-page' to be moved anywhereinside bank 0 by use of the 16-bit direct page register.There are other addressing modes available that use the bank specified inthe data bank register, again to help reduce code size and speed upexecution.Code normally executes in single bank at a time, the current bank numberbeing specified by the 8-bit program bank register.  There are instructionsavailable to call subroutines in other banks or just jump to code in otherbanks.The 65c816 internally runs at 3.58MHz, but other SNES hardware can temporarilyslow it down to 2.58MHz or even 1.56MHz when the CPU attempts read from themor write to them. In particular, there are a mixture of fast and slow ROMsinside game packs, slow ROMs can only be accessed at 2.58MHz.The 65c816 has direct access to 128k of work RAM plus any additional RAM thatmight be in the game pack. Video RAM and sound RAM cannot be accesseddirectly.SPC700------The SPC700 is an 8-bit CPU core, similar to a 6502, but with a differentinstruction set, some new addressing modes and multiple and divideinstructions, together with a custom sound digital signal processor, allcontained inside one module.The SPC700 and the 65c816 communicate via 4 bi-directional, 8-bit I/O ports.The SPC700 has its own 64k RAM used to store a program downloaded from 65c816and sound sample data. The CPU has a built-in, small, 64 byte ROM used as boot-strap code todownload a more complex program and sample data from the game ROM via the65c816. The ROM can be switched off and replaced with 64 bytes of RAM oncethe boot-strap code has done its work.The sound DSP can only play compresses sound samples, compressed using acustom fixed-ratio compression algorithm that compresses 16 16-bit samplesinto 8 bytes plus a one byte header. The minimum unit of a sample is oneblock. The block header byte contains a shift and filter value (algorithmdecompression information) plus a last block flag and a loop flag; the loopflag is only used if the last block flag is also set.There are 8 separate sound channels allowing up to 8 samples to be playedsimultaneously. Each sound channel has a left and right volume setting andfrequency setting. A hardware volume envelope can be defined for eachchannel, and echo effects can be turned on and off individually for eachchannel. The combined echo waveform can be subjected to an 8-tap FIRdigital filter. The wave output of a channel can be used to modulate thefrequency of the next sound channel, in numerical order.The DSP also has a white noise source that can played on a sound channelinstead of sample data. All 8 channels, and any echo sound data, are mixedtogether and subjected to a left and right master volume control.The DSP also provides 3 interval timers, the first two running at 8kHz andthe last at 64kHz; games normally only use one of them to provide a constantmusic playback rate.Interrupts----------The 65c816 provides two external interrupt sources: IRQ, which can be masked,and NMI, which cannot. The IRQ line is connected to an output on one of the graphics chips, that,it turn can be programmed to generate an IRQ at the start of a scanline, ata particular position on a scanline or at a particular position of everyscanline. The IRQ line also is connected to one of the pins on the ROMconnector, so additional hardware inside the ROM game pak, such as the Super FXand SA-1 chips, can also generate interrupts.The NMI line is connected to another output of one of the graphics chips andit can be programmed to generate an interrupt when the vertical blank periodstarts.The SPC700 chip can also generate interrupts, but they are not used on theSNES and probably physically not connected.Joypad Reading--------------Data from the SNES joy-pads is sent serially between the pad and the console.Games can choose to read each bit in, one at a time or allow hardware insideone of the custom chips to automatically read the joy-pad values once everyframe. The game can then read the values from registers.SNES joy-pads themselves have direction controls and 8 other buttons namedA, B, X, Y, Left, Right, Start and Select.Colour Palette--------------The SNES has a 256 entry 15-bit colour palette, allowing for 256 colours onscreen out of a total palette of 32768. However, games can and do changecolour entries during a frame, this combined with hardware colour valueaddition and subtraction and an overall brightness setting, can easily boostthe number of colours on screen to several thousand!Tiles-----All SNES graphics data is made up of tiles, a tile being an 8x8 block ofpixels, with each pixel made up of 2, 4 or 8 bits, allowing for 4, 16 or 256colours per pixel.To complicate matters, the SNES hardware stores tile data in planar format,that is all the bit 1's of all the pixels of a tile are stored together,then all the bit 2's and so on. Its like a sequence of 1-bit deep 8x8 pixelblocks.When a tile is used as background data, a 3-bit palette start address isassociated with each tile, allowing the programmer to choose a differentblock of colours for each tile from the larger SNES colour palette. Spritescan only use tiles of depth 4 (16 colours), but each sprite has a palettestart address.Background Graphic Modes------------------------The SNES has eight background graphics modes, each mode varies the number ofindividual background layers available, the depth of each layer and whatother features are available. Programmers can change the background modeduring a frame.The two most commonly used modes are mode 1, which allows two 16-colourbackground layers and one 4-colour layer and mode 7, which allows one 256-colour layer, but the layer can be rotated, stretched, squashed, sheared andgenerally messed around with.Each background is made up 32x32 8x8 tiles. However, the number of tiles ineach direction can be double as can the individual tile size. This allows fora virtual background size of 256x256 up to 1024x1024. Switching to 16x16 tilesize actually just groups four 8x8 tiles together, there is no true 16x16 tileon the SNES.Backgrounds have a pre-defined priority order - when pixels from onebackground layer overlap on the screen pixels from another background layer,the pixels from the lower numbered background are displayed.Each tile can be flipped horizontally or vertically, has a 3-bit "palettenumber" and a priority bit.  The priority bit is used to make all the pixelsin the tile appear in front of pixels from another background layer orsprite that would otherwise normally appear in front of them. Colour 0 fromeach tile is special and means "transparent", allowing non-transparentpixels from background layers or sprites "underneath" to be visible.Normally only 256x224 or 256x239 pixels are visible on screen and backgroundshave a scroll setting that allows the screen to act as a window onto anyportion of their virtual size.Two background modes are available that can display up to 512x478 pixels,but they're not used by many games because the flicker, caused by theinterlace used display the image on a standard television, would give gameplayers headaches.Sprites-------The SNES has 128 hardware sprites, each sprite can be made up of one orseveral 16-colour, 8x8 tiles. Each sprite is assigned a number which definesits pixel priority when two sprites overlap on screen, it also has a separatesprite-to-background priority value which defines whether the sprite shouldappear in front or behind of the various background layers. Each sprite alsohas a 3-bit palette number, horizontal and vertical flip flags, a start tilenumber and, of course, an X and Y position.There's no way to turn off a sprite - if you don't want it to be visible you

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
波多野洁衣一区| 久久精品久久综合| 成人18精品视频| 日韩三级视频在线看| 久久午夜电影网| 亚洲欧美色一区| 国产精品亚洲午夜一区二区三区| 成人app软件下载大全免费| 91精品国产综合久久精品app| 色婷婷久久久久swag精品| 欧美一级免费大片| 免费的国产精品| 欧美日韩视频专区在线播放| 一区二区三区在线观看网站| 国产aⅴ综合色| 一区二区三区精密机械公司| 91最新地址在线播放| 久久亚洲私人国产精品va媚药| 亚洲国产一区二区在线播放| 久久精品国产一区二区三| 日韩一区二区在线看| 亚洲伊人伊色伊影伊综合网| www.日韩在线| 1000部国产精品成人观看| 手机精品视频在线观看| 99精品视频一区| 精品国产乱码久久久久久老虎| 国产精品久久久久9999吃药| 欧美亚洲日本国产| 久久精品噜噜噜成人av农村| 欧美成va人片在线观看| 97久久精品人人做人人爽50路| 亚洲视频一区在线观看| 欧美喷潮久久久xxxxx| 精品写真视频在线观看| 国产精品国产三级国产a| 成人v精品蜜桃久久一区| 欧美日韩一区不卡| 一区二区三区在线高清| 久久爱www久久做| 欧美mv和日韩mv国产网站| 日韩国产欧美在线观看| 欧美一区在线视频| 亚洲成人综合在线| 欧美日韩精品欧美日韩精品一| 91在线码无精品| 国产一区福利在线| 青草av.久久免费一区| 亚洲成a人v欧美综合天堂| 一区二区三区不卡在线观看| 国产精品久久久久久久浪潮网站| 欧美日韩一区二区欧美激情 | 国产网站一区二区| 欧美一级高清片| 6080亚洲精品一区二区| 日韩欧美高清dvd碟片| 91精品久久久久久蜜臀| 精品国产乱码久久久久久久久| 日韩一区二区精品在线观看| 欧美成人一区二区| 日韩免费电影网站| 久久精品人人做人人综合| 精品国产乱码久久久久久1区2区| 久久免费电影网| 久久久久久免费网| 亚洲人成精品久久久久| 夜色激情一区二区| 日韩专区欧美专区| 麻豆成人久久精品二区三区小说| 久久福利资源站| 成人激情综合网站| 欧洲精品在线观看| 欧美疯狂性受xxxxx喷水图片| 99riav久久精品riav| 777色狠狠一区二区三区| 欧美一区二区三级| 国产农村妇女毛片精品久久麻豆| 337p粉嫩大胆噜噜噜噜噜91av| 三级久久三级久久久| 国产精品 欧美精品| 国产精一区二区三区| 蜜桃一区二区三区在线| 男男gaygay亚洲| 午夜视频在线观看一区| 久久成人久久爱| 亚洲中国最大av网站| 中文字幕av一区二区三区免费看| 东方欧美亚洲色图在线| 亚洲高清在线视频| 亚洲最大成人网4388xx| 久久精品72免费观看| 美美哒免费高清在线观看视频一区二区 | 日韩va亚洲va欧美va久久| 亚洲一区视频在线| 亚洲v精品v日韩v欧美v专区| 亚洲成av人片一区二区梦乃| 日日夜夜精品免费视频| 精品一区二区免费视频| 99久久婷婷国产综合精品| 久久精品亚洲麻豆av一区二区 | 欧美自拍偷拍一区| 欧美天堂一区二区三区| 日韩欧美国产一二三区| 成人网页在线观看| 91在线视频播放| 欧美日韩一卡二卡三卡| 综合久久给合久久狠狠狠97色| 一区二区三区在线观看欧美 | 精品成人在线观看| 国产性天天综合网| 亚洲黄色尤物视频| 精品写真视频在线观看| 99re成人精品视频| 国产日韩欧美亚洲| 日本亚洲电影天堂| 欧美日韩国产色站一区二区三区| 国产日韩欧美一区二区三区乱码 | 午夜亚洲福利老司机| 99久久99久久综合| 久久久久99精品一区| 视频一区二区三区入口| 99久久伊人久久99| 日本一区二区三区电影| 日韩 欧美一区二区三区| 精品视频一区 二区 三区| 日本一区二区免费在线观看视频 | 亚洲成a人片在线观看中文| 成人午夜av电影| 日本一区二区三区在线观看| 麻豆传媒一区二区三区| 91精品国产色综合久久| 亚洲一卡二卡三卡四卡无卡久久| 91美女在线观看| 国产精品私人影院| 成人精品电影在线观看| 国产欧美综合在线观看第十页| 国产精品自拍网站| 亚洲精品一区二区三区精华液| 免费人成精品欧美精品 | 日本道免费精品一区二区三区| 一区免费观看视频| 99精品视频一区二区三区| 亚洲图片欧美激情| 99re在线视频这里只有精品| 亚洲老妇xxxxxx| 欧美中文字幕亚洲一区二区va在线| 亚洲欧美日韩在线| 91女厕偷拍女厕偷拍高清| 亚洲激情六月丁香| 91毛片在线观看| 亚洲成人777| 884aa四虎影成人精品一区| 蜜桃精品视频在线| 欧美成人精品二区三区99精品| 麻豆国产91在线播放| 久久青草欧美一区二区三区| 国产福利一区二区三区视频在线 | 九色综合狠狠综合久久| 日韩三级视频中文字幕| 韩国精品久久久| 国产日产欧美一区二区三区| eeuss鲁一区二区三区| 国产精品对白交换视频| 欧美日韩在线精品一区二区三区激情| 亚洲国产成人一区二区三区| 成人av在线播放网址| 亚洲一区二区三区美女| 欧美日韩成人激情| 伦理电影国产精品| 久久精品网站免费观看| 成人网页在线观看| 一区二区三区日韩精品视频| 欧美一区二区免费| 国产原创一区二区三区| 亚洲欧美日韩国产一区二区三区| 欧美亚洲一区三区| 国产一区二区三区精品欧美日韩一区二区三区 | 色婷婷久久综合| 天天综合色天天| 国产亚洲成年网址在线观看| 波波电影院一区二区三区| 樱桃视频在线观看一区| 日韩一级免费观看| 成人精品小蝌蚪| 蜜桃视频免费观看一区| 欧美韩国日本综合| 91免费视频大全| 美女在线视频一区| 久久精品亚洲精品国产欧美| 99久久综合狠狠综合久久| 一卡二卡三卡日韩欧美| 日韩一二三区视频| 成人污视频在线观看| 麻豆精品一区二区三区| 国产精品国产成人国产三级 | 日韩成人免费在线| 1区2区3区精品视频| 欧美一区二区久久| 91久久一区二区| 热久久国产精品|