Skip to main content
Home Documents Macintosh YaccEqu
YaccEqu

YaccEqu

Macintosh · 1989 · PDF
FilenameYaccEqu.pdf
Size0.31 MB
Year1989
Subsection prototypes / 1985_YACC / firmware
Downloads5
Enjoying MacTrove? Anonymous downloads are free and unlimited. Create a free account to track favorites, contribute metadata corrections, and join the community chat.
Reader
YaccEqu
/
Loading…
OCR / Text contents
Thu, Mar YaccEqu.Text on Mac onlisa on Yacc .EQU .EQU .EQU 16, 1989 11 :31 PM 0 0 '·----------------------------------------------------------------; System Constants ;----------------------------------------------------------------Physical Device Equates The YACC is a meg machine with memory management that aliorJs mapping of the memory into 1 kilobyte pages. There are 8 video p1anes which are 640*480 pi;.~eis in size. This is 37.5K of ram per plane; the 1K resolution of the pages force an allocation of 38K for each plane. The Video DMA system uses physical addresses 19 to 17 for the selection of the 8 planes, thus forcing the division of the physical 1 meg of memory into 8 128K partitions. There is a 16 bit register that is 1oaded with a physical address that points to the start of the frame buff er in each of the 8 p1anes. The Sound subsystem makes al 1 accesses from partition O, which has addresses 17, 18, and 19 = .(i. It ai so has a 16 bit register i·Jh ich points to the start of the sound buffer. The system rJi 11 fetch a 16 bit value at the start of video scan 1ine (15.734 KHz horizontal scan rate), of ~~hich the low 10 bits are used as input to a PWM c irwi t. The PvJM circuit di vi des the line into 585 cycies; a value of 585 or higher will turn on the sound for the entire i ine whi 1e a value of 0 rJi 11 turn off the sound for the 1ine. The Sound DMA system will continue to fetch successive words of data until a word is read that has bit 15 = 1, whereupon the circuit rJi 11 reset the starting -:.iddress to the int iai vai ue in the 16 bit register. The floppy disk PliJM circuit for speed control is two 8 bit registers/counters that are written in para1 lel. . When 16 bits are written, the lm:.s 8 bits are loaded into a PWM Low register and the high 8 bits are laoded into a PWM High register. The circuit provides Pulse Width Modulation and Pulse Frequency Modu1 at ion. Each register is fed into a counter that increments at an 8MHz rate until it reachs 255, ~·Jhereupon it hait and reload itself. The other registericounter is enabied and it folim&Js an identical process. The number of times that both counters increment is proportional to the square-wave frequency that is produced • ~Ji th a sum of counter increments equa 1 to 256, a square wave of frequency 31.25Khz is produced ( 1000/ \256* ( 1000000/BMHz))) • The vaiue in the PWM_Low register/counter divided by 256 is the proportion of the square ~-Jave that rJiii be 'low and the vaiue of Pl>JM_High divided by 256 is the proportion of time that will square wave will be high. The memory management hard~111are consists of 2K ;{ 16 of read/write registers. 8 megabytes can be mapped but only 1 megabyte can be mapped at any one time. Any 2 accesses that has the l ow 19 bits the same and the high 3 bits are different v4ill cause a memory translation error. To address 1 meg, bits 19-10 are provided by the MMU and 9-1 come directly from the address. The high 3 bits (22-20) are used b…

Showing first 3,000 characters of 10,716 total. Open the full document →

Home Documents Macintosh Tlasm HeapDefs
Tlasm HeapDefs

Tlasm HeapDefs

Macintosh · 1987 · PDF
Filenametlasm-HeapDefs.pdf
Size0.18 MB
Year1987
Subsection prototypes / 1985_YACC / firmware / yaccsbug
Downloads5
Enjoying MacTrove? Anonymous downloads are free and unlimited. Create a free account to track favorites, contribute metadata corrections, and join the community chat.
Reader
Tlasm HeapDefs
/
Loading…
OCR / Text contents
HeapDefs.Text Thu, Mar 16, 1987 11:09 PM Heaplefs - Definitions for Macintosh Assembly Language Memory Manager. Supports multiple heap zones with mixed relocatable and non-relocatable storage blocks. Reorganized from code designed and written by Bud Tribble, 27-Nov-81, and maintained and modified by Angeline Lo, Larry Kenyon, and Andy Hertzfeld. Modification History: 17 Feb 83 LAK added dfltStackSize for defltAppiLimit. 20 Mar 83° MPH changed memory size constants to support 512 K byte machine; added PtrMask and HandleMask to allow garbage in high byte of ptrs or handles passed to memory manager; removed "checking" conditional from ChkZone macro. 29 Mar 83 MPH added purgeFrec and moverelProc. entries to zone object. iG Jun 83) MPH Removed Definition of Nil, use Nil from GrafTypes. 17 Jun 83 MPH Removed moveRelProc from Heap object, inserted spare. 2i Jun 63 MPH Put FreeList code under assembly switch: FList. 18 Jul 83 LAK Removed FreeList stuff completely; removed TLock, TPurge; removed Trap macro and check hook offsets. for Flags byte: FNSelCompct ,FNoRvrAl loc ,FNSel Purge ,FRel AtEnd. 12 Aug 83° LAK Added ClearBit equate. ; These constants control conditional assembly. Checking +Equ Q ycheck arguments and data structures Statistics »Equ 6 ygather statistics on usage Robust »Equ 0 yenables super-robust internal checks CountHPs «Equ it) senables counting of master pointers DF tFlags sEqu 0 yChecking is on when zone is init’d H 3 Constants: HinFree »EGU 12 312 byte minimum block size TagMask »EQU #00000000 sMask for the 2-bit Tag Field BCOFfMask EOL SOF 000000 sMask for the 4 bit Byte Count offset BCMask »EQU $00FFFFFF yMask for the 24 bit Byte Count PtrMask »EQU SQ0FFFFFF jMask pointer to low 24 bits Hand] eMask »EQU FQOFFFFFF sMask handle to low 24 bits Freelag -EQU #0 slag for Free block NRel Tag »EGU $40000000 ylag for Non-Relocatable black RelTag »EQU $80000000 3Tag for Relocatable block MaxSize »EQU #800000 jMax data block size is 312K bytes Mindddre »EGU $0 3Min legal address MaxAddr »EBU S800000 yMax legal address for 512K machine MaxMasters »EGU $1000 sRidiculously large allocation chunk size dfl tasters »EQU 32 pDefault to 32 master pointers df] tStackSize EGU $00002000 38K size for stack anStackSize +EQU 00000400 31K minimum size for stack i H Block Types H t ybk Mask »ERU 3 yMask for block type 30 Jul 63 LAK Added equates for PurgePtr and AllocFtr. Aiso added equates HeapDets.Text tybkFree tybkNRel tybkRel Heap Zone ? BkLim PurgePtr HFstFree ZCBFree 62ZFroc MAT ocOnt Flags FOnCheck FChecking FGZAl ways FNGZResrv FN5el Compct FNoRvral loc FNGel Purge FRel AtEnd cntRel maxRel cntNRel maxNRel entEmpty cntHand]es minCBFree purgeProc sparel AllocPtr Heaplata MinZone ' 3 TagbC Handle BikData SysZoneSize AppZoneSize Structure StartPtr LimitFtr CMoreMasters -EQU EGU EGU Offsets: »EQU EGU EGU »EGU »EQU »EGU «EGU »EGU +EQU +EQU »EQU »EQU »EQU EGU »EQU »EQU »EQU »EQU »EGU »EGU «EGU »EGU »EQU EGU E…

Showing first 3,000 characters of 5,210 total. Open the full document →

Home Documents Macintosh Tlasm ToolEQU
Tlasm ToolEQU

Tlasm ToolEQU

Macintosh · 1989 · PDF
Filenametlasm-ToolEQU.pdf
Size0.75 MB
Year1989
Subsection prototypes / 1985_YACC / firmware / yaccsbug
Downloads5
Enjoying MacTrove? Anonymous downloads are free and unlimited. Create a free account to track favorites, contribute metadata corrections, and join the community chat.
Reader
Tlasm ToolEQU
/
Loading…
OCR / Text contents
ToolEqu.Text File TOOLEQU.TEXT Thu, Mar 16, 1989 11:24 PM 1 User Interface ToolBox Equate File This file contains global variable and data structure definitions for the MacIntosh User Interface ToolBox. It is included with all toolBox source files and possibly with some application programs. written by Andy Hertzfeid May 3, 1982 MODIFICATION HISTORY: AJH AJH AJH AJH AJH AJH AJH AJH AJH AJH BLH AJH BLH AJH AJH AJH BLH BLH AJH AJH AJH AJH AJH BLH AJH AJH AJH AJH AJH AJH BLH 8c 8c AJH AJH AJH AJH AJH AJH SC AJH 6C AJH ELH $C AJH 23-May-B2 22-Jun-82 27-Jun-82 3i-Jul-B2 10-Aug-82 29-Aug-82 06-Sep-82 12-Sep-82 14-Sep-82 20-Sep-82 24-Sep-82 05-Oct-82 7-Oct-82 12-ict-B2 14-Nov-82 21-Nov-82 i?-Dec-82 i9-Dec-B2 19-Dec-82 24-Dec-82 28-Dec-82 05-Jan-83 24-Jan-83 5-Feb-83 5-Feb-83 4-Feb-83 12-Feb-83 é-Mar-83 7-Mar-83 S-Apr-83 20-Apr-83 20-Apr-83 09-May-83 i0-May-d2 25-May-83 3i-May-B3 02-Jun-83 08-Jun-83 14-Jun-83 23-Jun-83 08-Jul-83 05-Aug-83 05-Aug-83 06-Aug-83 13-Aug-83 28-Aug-83 Added window stuff Added icon stuff Added menu stuff Added control stuff; changed menu data structures Got rid of scrapWindow Added UragPattern , 1ShapeHook to globals, dragMsg to controls Added growWindow message Got rid of Alert and Dialog Window; added fneDne, MinusQne Changed for new font manager fidded “goAway" boolean to windows; added symbolPtr globals Added alert, dialog globals and data structures Added ContriAction field to control data structure Added indirect globals--took main globals out of low mem Switched over to new font manager globals; gratport now 64 bytes Added TaskLock for desk manager LGlobais,GPortSize change for ROM 1.8 Changed Dialog, Resource constants and globals Changed names for Resource upheaval Added CurActive Curfeactive ,deskHook globals Made defProcs defHandies, other data structure changes Broke off resource type and Il defs into separate file moved global base to #E80; put dialog stuff at end replaced HICONLIST with MBARENABLE Removed alertWindow, UDialogWindow globals. Changed Dialog data .structure defs. added MicroSoft bytes, other changes globais for scaling font manager got rid of checkFlag, made curfiragAction 4 bytes Jong added GotStrike field for fontMgr (used byte from defSize) added scalelisable added GhostWindow field in MicroSoft giobals Changed alert and dialog templates. Removed AlertKind. Added journal stuff at end Added text edit defs, changed dialogs Added CloseOrnHook, FPAddress Added AppPacks table Changed size of grafFort for new QuickDraw, Added SyskesNane Changed PicScrap to theScrap Added AppParmHandie Added OSErrCode Removed systemKind (it’s now any negative number) Made it match the documentation New TE record Added WGIconMsg to window defProc messages Added ResErrProc at end of tool globals. Made LastMap a temporary filler. Dropped scrapinfo, thedcrap Changed AppleMark, CheckMark to final values ToolEqu.Text : Thu, Mar 16, 1989 11:24 PM AJH = 29-Aug-83 added…

Showing first 3,000 characters of 20,343 total. Open the full document →

Home Documents Macintosh Tlsam GrafEQU
Tlsam GrafEQU

Tlsam GrafEQU

Macintosh · 1989 · PDF
Filenametlsam-GrafEQU.pdf
Size0.12 MB
Year1989
Subsection prototypes / 1985_YACC / firmware / yaccsbug
Downloads5
Enjoying MacTrove? Anonymous downloads are free and unlimited. Create a free account to track favorites, contribute metadata corrections, and join the community chat.
Reader
Tlsam GrafEQU
/
Loading…
OCR / Text contents
GrafEqu.Text Thu, Mar 16, 1989 11:07 PM File GRAFEQU.TEXT - Macintosh graphics equates file. Written by Bud Tribble 26-May-81 All system graphic routines include this equate file. MODIFICATION HISTORY: i 5 : 3 i 3 BLT 2-Oct-ai For new LisaGraf 3 AJH 31-Oct-81 Moved variables down to make room for driver variables 3 alo 03-Feb-82 Lisagraf vars moved down to #800 for more system globals 3 AJH 06-Jul-82 Added stuff for ObscureCursor y LAK 26-Ju1-B2 Added JUPDATEFROC pointer to update event generator 3 LAK 05-Sep-82 Added MaxX and MaxY equates : AJH 15-Sep-82 Modified for new cursor interface 3; LAK 16-Oct-82 updated for 512 dots y AJH 20-Nov-82 added JournalFlag, font manager jump vectors 3 AJH 02-Jan-83 added Journal Hook 3 $C 21-Jan-83 font scaling/coupling stuff 3 $C 02-Jun-83 Added 3 vars for jerky cursors H §C 23-Jan-83 changed JournalHook to journal Ret 3 AJH 1i-Aug-83 added MScaleThresh, MScaleFactor y; LAR 13-Aug-83 changed above two to MicaleTbl, added NScaleQld 3 LAR 18-Aug-89 changed above two to CrsrThresh and CrsrQuad. H moved JCrsrTask here from Sysequ. ; LAK 20-Aug-83 Removed CrerGuad. 3 i ; System Constants 3 SCRNROWE EGU 640/8 MaxX EGU 640 Max EGU 44 SCRNBYTES EGU SCRNROWB#Max ¥ i : ; System Graphic Jump Vectors - Long pointers to H system routine entry points. 3 GRAFBEGIN EGU #800 ;GRAF GLOBAL AREA JHIDECURSOR EGU GRAFBEGIN J5HOWCURSOR »EGU JHIDECURSOR+4 JSHIELDCURSOR EGU JSHOWCURSOR+4 ASCRNADDR EGU JSHIELDCURSOR+4 ASCRNSIZE »ERU JSCRNADDR+4 JINITCRSR EGU JSCRNSIZE+4 JSETCRER EGU JINITCRSR+4 JCRSROBSCURE »EQU ASETCRSR+4 JUFDATEPROC »EGU ACRSROBSCURE+4 LGRAF JUMF EDU JUPDATEPROC+4 ;LAST VECTOR LOCATION : ; System Graphic variables : GRAF VAR EGU LGRAFIJUMF s5YSTEM GRAPHIC VARIABLE AREA SCRNBASE EGU GRAF VAR yPOINTER TO BASE OF SCREEN MTENF -EQU SCRNBASE+4 sPOINT, TEMPORARY MOUSE COORDS RawMouse «EGU NTEMP+4 ; Faw mouse coordinates (un-jerked) GrafEqu.Text MOUSE CRSRPIN CRSRRECT THECRSR CRSRADDR CRSRSAVE CRERVIS CRSRBUSY CRSRNEW CRSRCOUPLE CRSRSTATE CREROBSCURE CRERSCALE MouseMask Mouselffset Journal Flag JSwapFont JFontInfo Journal Ret CrsrThrash JCrsrTask -EQU »EGU »EGU »EGU EGU +EQU »EQU +EQU +EQU EGU +EQU »EQU »EQU »EQU EGU EGU EGU +EQU »EGU EGU «EGU ; NOTE -- JCrsrTask GRAFEND »EGU Thu, Mar RawMouse+4 MOUSE+4 CRSRPINtE CRSRRECT+S THECRSR+48 CRSRADDR+4 CRSRSAVE+44 CRSRVIS+1 CRERBUSY+1 CRSRNEW+ 1 CRSRCOUPLE+1 CRSRSTATE+2 CRSROBSCURE+1 CRSRSCALE+3 MouseMask +4 Mouselffset+4 Journal Flagt2 J5wapFont+4 JFontInfot4 Journal Retf+4 CrsrThresht2 CrsrThresh = must JCrsrTask+4 ié, 1987 9 14:07 PM ;POINT, MOUSE COORDS USED BY CURSOR 3RECT, CURSOR PIN LIMITS sRECT, CURSOR HIT RECTANGLE 348 BYTES. CURSOR DATA, MASK, HOTSPOT LONG, ADDR OF DATA UNDER CURSOR 316 LONGS, DATA UNDER CURSOR sBYTE, CURSOR VISIBLE FLAG sBYTE, CURSOR LOCK-DUT FLAG 3BYTE, CURSOR CHANGED FLAG yBYTE, CURSOR coupled flag ;WORD, FOR NESTED CURSOR CALLS ybyte semaphore for obscure cursor sbyte c…

Showing first 3,000 characters of 3,314 total. Open the full document →

Home Documents Macintosh Tlasm Sysmacs
Tlasm Sysmacs

Tlasm Sysmacs

Macintosh · 1989 · PDF
Filenametlasm-sysmacs.pdf
Size0.27 MB
Year1989
Subsection prototypes / 1985_YACC / firmware / yaccsbug
Downloads5
Enjoying MacTrove? Anonymous downloads are free and unlimited. Create a free account to track favorites, contribute metadata corrections, and join the community chat.
Reader
Tlasm Sysmacs
/
Loading…
OCR / Text contents
SysMacs.Text FILE: SysMacs.Text MACWORKS Copy Thu, Mar 16, 1989 11:22 PM SysMacs.Text Written by: - System macros include file. should All system components include this file of standard system macros. Bud Tribble 28-Oct-61 Modification History: AJH = 30-Oct-81 AJH = G2-Nov-B1 AJH = 15-Nov-81 alo 2-Feb-82 LAK 05-Sep-82 LAK 07-Sep-82 MPH (29-Oct-82 LAK 23 Dec 82 LAK LAK LAK MF LAK LAE LAK LAK AJH LAK LAK 5b LAK LAK LAK LAR LAK a 2 18 2i 03 ia 23 06 il 1é ce Jan Jan Jan Feb Feb Feb Feb Feb Apr Jun Jun dun Aug Aug Sep Nov Nov 83 83 83 83 83 added added - changed MOVE.L to LEA in “_ CORE" macro ~ deleted SEEK and old memory management macros ~ added ASYNC option - added some utility core routines DrvrRemove - added 5 object manager core routines option to mem man. macros. - removed object manager calls; added new file system traps (_UnMountVol, MountVol, FlushVol, FlushFile, - added DrveInstall, - added System/Current _DpenRF) and options (FilNam,FilNum) ; removed file system traps _ReadLabel, WriteLabel. CapString, GetTrapAddr, SetFillock, RstFillock, made consistent reorganized remove SetHLock, SetHFurge Delay (again) and Addiirive macros. Changed added Exit added added to LoadFile. SetGrowZone, CompactMem, ROrveinstal 1 trap 463 is now Initutil. Added Removed NOSAVE option Fixed REGS to GetTrapAddr SetTrapAddr macros SetFillype macros with Andy’s SysMacs macros to add new memory manager calls, PurgeMem (no longer used); added SetAppHase. macros for Freetlem, MaxMem, DisposPtr, SetPtrSize, GetPtrSize, DisposHandle, ReAllocHandle, EmptyHandle, Compacthen, Added Added WARES for string compares. SetHandleSize, GetHandleSize, SetAppiLimit, HeapValidate, IMMED option for control Added Resrviiem trap in place of HeapValidate; CompactHem, FreeMem, FurgeMem, and MaxMem traps adjusted for ,575 option. ;CLEAR option for memory manager; added ,CASE and and PurgeMem to reflect correct options, reg save. calls. Made CompactMem, FreeMem, FurgeNem, and ResrvMem use SAVE instead of REGS. Added Offline trap for file system. MoreMasters call for memory manager. Added Macro TrapTo Parameter Misc. “i is the magic number associated is used to call the hardware »MACRO HOVEN.L MOVE TRAF MOVEM.L +ENDM system macros TRAPTO DS/D7,- (SP) #41 07 #5 (SP) +, 05/07 interface routines. with the routine begin called. troutine> save register routine number trap restore register SysMacs. Text »AHACRO IF LEA »ENDC IF » WORD »ENDC IF «WORD ENDO IF »WORD »ENDC IF «WORD sENDC IF WORD -ENDC -ENDM »MACRO IF LEA 2ENDC IF WORD »ENDC lF -ENDC Thu, Mar 16, 1989 11:22 PM __CORE ale dp 41,00 yylost FA000T72 43) = (REGS? $AL00+72 90 = CARYN! FA400+72 ay = "Sys" FA400F12 a' = IMME! SALON YE _ Core Ui ab ef 41, AG Mya te SA000+T2 "E3) = ‘SAVES IF aes '5Y5" WORD = $A400+%2 »ELSE WWORD = $AG00+22 -ENDC "49/0 = ‘REGS? LF YA = *5Y5" wlF aa’ = ‘CLEAR’ wWORD = BA7O0+%2 sELSE «WOR…

Showing first 3,000 characters of 7,298 total. Open the full document →

Home Documents Macintosh Tlasm Sysequ
Tlasm Sysequ

Tlasm Sysequ

Macintosh · 1989 · PDF
Filenametlasm-Sysequ.pdf
Size1.46 MB
Year1989
Subsection prototypes / 1985_YACC / firmware / yaccsbug
Downloads5
Enjoying MacTrove? Anonymous downloads are free and unlimited. Create a free account to track favorites, contribute metadata corrections, and join the community chat.
Reader
Tlasm Sysequ
/
Loading…
OCR / Text contents
3.19. Syqequ. Text Thu, Mar 16, 1989 1:02 PH File SYSEQU.TEXT - Macintosh system equates file. MACWORES copy WRITTEN BY: Bud Tribble é-May-81 All system routines include this equate file. MODIFICATION HISTORY: Integrate Lisagraf -- Configured for Alpha release (one heap) -- Moved Lisagraf variables up to allow more room = -- Added system base date & time variables - Allowed 20 bytes for system parameter ram area -- Added ptr for SYSOUTFIB,SYSINFIB,SYSREFNUM(macpasl ib} Added SCC hardware addresses; removed 6551 stuff; pulled MBSTATE and MBTICKS from kbd driver vars -- added SCC write reg 3 globals; clock-keyboard synchronization flags ... -- got rid of VBL queue element “mode” word -- changed KEYREFCOUNT tc KEYREFTIME; added procedural interface variables for key mapping -~ updated for Siz-dots — changed VIA addresses for timing problem - changed IWM addresses for better margin -- updated to 364 current version (0.50) -- added FSinitibg for Fiileri (sysinit, debug) -— added TagData field for twiggy driver - added Orvinstalled field for twiggy driver; changed WarmCold to TwiggyVars -— removed Drvinstalled field; removed FIER pointers, and changed start of system heap; changed loader variable area = added a compare string jump vector -- changed driver definitons, etc. a added VIA equates - added new i/o param bik equates for new fs -— added storage manager error codes -- add disk cal switch error code - added keyboard task vector in #124 (KybdTask); broke error codes out into SysErr.Text added LoadTrap lomem var = put dispatch table where macsbug globals used to be and moved down toolbox vars. - Added DSAlertTab pointer - Added Bootlrive field -- Added FoliStack, PoliProc, ODskEre, UskRtnAdr — Added SonyVars ,PWMBuf2 -- Changed screen, PWM address for 512k proto -- Added Resource def - Added PWMValue -- Added Heap check hooks -- Changed SCC addresses (high bits on) - Added DOFSID, Stretched KeyFadMap to 8 bytes -- Added Mask constant, changed Heap check hooks - Added squates for MinStack, DefltStack for memory manager; moved UnitEntries equate to Startinit; added UnitNtryCnt lomem var instead. - alo ala alo alo alo aio LAK LAK LAK LAK LAK LAK LAK LAK LAK LAK LAK LAK AJH AJH LAK AJH BJH LAK MPH LAK LAK MPH LAK 23-Lec-81 5-Feb-62 10-Feb-B82 13-Feb-82 i-Mar-82 i-Apr-82 10-May-82 27-May-82 04-Jun-82 07-Jun-82 26-Aug-82 17-Sep-82 23-Sep-82 10-Oct-82 19-Oct-82 Oi-Nov-82 02-Nov-Bz i8 . 10 i7 03 E17 £ O04 RO5 Nov Dec Dec Jan Jan Feb Feb Feb Feb Mar Apr Apr Apr May Hay May May May Jun Jun Jun 82 g2 82 53 83 Ex) 83 3.19. Syqequ.Text Thu, Mar 16, 1989 11:02 PM Added “Nolueve" bit definition -- @JH 23 Jun 83 Added “CurlOTrap" (replacing “Filler3" } -- AJH 26 Jun 83 Added “forTwiggy" conditional assembly switch -- AJH 27 Jun 83 Cleaned up: changed unused vars to Fillerx equates; changed ARdCmd ,AWrCmd ,ACt1 Cmd ,AStsCmd to match trap numbers . 4 2 -- LAK 15 Jul 83 Added mmInQk for memory manager checking. -- LAK 24 Ju…

Showing first 3,000 characters of 20,662 total. Open the full document →

Home Documents Macintosh YaccDesc
YaccDesc

YaccDesc

Macintosh · 1989 · PDF
FilenameYaccDesc.pdf
Size0.13 MB
Year1989
Subsection prototypes / 1985_YACC / firmware
Downloads5
Enjoying MacTrove? Anonymous downloads are free and unlimited. Create a free account to track favorites, contribute metadata corrections, and join the community chat.
Reader
YaccDesc
/
Loading…
OCR / Text contents
YaccDesc.Text Thu, Mar 16, 1989 11 :30 PM The YACC is a r meg machine ~:Ji th memory management that al 1m'ils mapping of the memory into 1 kilobyte pages. There are 8 video planes which are 640*480 pi:-~els in size. This is 37.5K of ram per plane; the 1K resolution of the pages force an a 11 ocat ion of 38K for each p1ane. The Video DMA system uses physica1 addresses 19 to 17 for the selection of the 8 planes, thus forcing the division of the physical 1 meg of memory into 8 128K partitions. There is a i6 bit register that is loaded with a physical address that points to the start of the frame buffer in each of the 8 p1anes. The Sound subsystem makes a 11 accesses f ram partition 0, which has addresses 17, 18, and 19 = 0. It also has a 16 bit register ~'ilhich points to the start of the sound buffer. The system vlill fetch a 16 bit value·at the start of video scan line (15.734 KHz horizontal scan rate), of which the lovJ 10 bits are used as input to a PWM circuit. The PWM circuit divides the 1ine into 585 cycles; a value of 585 or higher ~-vill turn on the sound for the entire line whi 1e a value of 0 wi 11 tur·n off the sound for the i ine. The Sound DMA system will continue to fetch successive words of data untii a ~'4ord is read that ha·:; bit 15 = 1, whereupon the circuit ~'iliil reset the starting address to the intial vai ue in the 16 bit register. _ The floppy disk Pl4M circuit for speed control is two 8 bit registers/counters that are written in parallel. When 16 bits are ~~ritten, the low 8 bits are loaded into a F'WM_Lm•J register and the high 8 bits are iaoded into a Pl4M_High register. The cirrni t provides Pulse Width Modulation and Pui se Frequency -Modulation. Each register is fed into a counter that increments at an BMHz rate until it reachs 255, whereupon it ha 1t and re 1oad i tse l f • The other regi stericounter is enab 1ed and it fol i ovJS an identical process. The number of time::; that both counters increment i·; proportional to the square-wave frequency that is produced • ~Ji th a sum of counter increments equal to 256, a square ~'ilave of frequency 3i.25Khz is produced {1000/ \256* ( 1000000/BMHz ! ) ) • The va1 ue in the PviM_Low register/counter divided by 256 is the proportion of the square ~·Jave that will be 1ow and the value of Pi~M_High divided by 256 is the proportion of time that wi 1i square wave ~:.Ji i1 be high. The memory management hard~...;are consists . of 2K ;{ 16 of readiwrite registers. 8 megabytes can be mapped but on 1y 1 megabyte can be mapped at any one time. Any 2 accesses that has the low 19 bits the same and the high 3 bi ts are different vJili cause a memory translation error. To address 1 meg, bits 19-10 are provided by the MMU and 9-1 come directly from the address. The high 3 bits (22-20) are used by the MMU. To write the MMU, the 16 bits are mapped as follows: Bit 15 Bit 14 Bit 13 Bi ts 12 :03 Bits 02 : 00 Referenced bit , = 1 if page has been referenced • - Modified bit, = l if …

Showing first 3,000 characters of 4,346 total. Open the full document →

Home Documents Macintosh YACC Description
YACC Description

YACC Description

Macintosh · 1986 · PDF
FilenameYACC_Description.pdf
Size0.43 MB
Year1986
Subsection prototypes / 1985_YACC
Downloads5
Enjoying MacTrove? Anonymous downloads are free and unlimited. Create a free account to track favorites, contribute metadata corrections, and join the community chat.
Reader
YACC Description
/
Loading…
OCR / Text contents
summary.doc Wed Sep 3 00:52:27 1986 1 Yacc (Yet Another Color Computer) Functional Description The Yacc is a 68010 based single board computer. It's main components are the 68010, a megabyte of RAM, up to 1/2 megabyte of ROM, a Zilog sec for serial communicatJLon, an Apple IWM for controlling Sony microfloppies, 3 6522 VIA's, a byte wide port to a Priam Datatower (85 MB), and a byte wide port to an Apple ProFile or a 3COM Ethernet box. The translation buffer portion of a paged MMU is implemented. The following is a simple description of each of the main components. Memory Management Unit The MMU consists of 2 - 2Kx8 static RAMs, comparators, multiplexors, bus drivers, and a controlling PAL. There are two translation buffers that are 1024 entries in lE~ngth, with each entry having 16 bits. Which of the two buffers are selected are determined by the Supervisor/User output from the 68010, and both buffers are accessible to the CPU when in Supervisor state. The pages that are mapped by the MMU are 1024 bytes (lK) in size; this allows the entirE~ megabyte of the machine to be mapped at one time. The 16 bits of each entry are used as follows: Bit Bit Bit Bit Bit US #14 #13 U2:03 #02:00 - RefE~renced Bit. Set to '1' if the page is ever referenced. Modified Bit. Set to '1' is the page is ever written to. Valid Bit. User controlled, set to '1' is page is mapped. Physical Address. These are physical addresses 19:10. Tag Field. These map 8 logical megabytes to 1 physical meg. The 16 megabyte address space of the 68010 is divided into two spaces, Logical RAM and I/O space. The I/O space is selected by via address line #23 being equal to 1; there is no protection feature that disables a user from addressing the I/O space. Because the haLrdware only supports the translation of addresses and the referenced and modified bits, the entire overhead of providing a virtual system must be done in software. The hardware will cause a bus error if the page is not mapped; the software must maintain it's own page tables and other such data structures. Video Frame Buffer The Yacc has an eight plane deep frame buffer with a 256 x 16 bit color lookup table. ~~he video access to memory is interleaved with CPU access; this interleave is transparent to the software. The physical memory layout to support the 8 planes needs support by MMU mapping to allow the 8 planes to appear contiguous. The memory can be viewed as divided into 8 128Kb partitions. Each video plane resides in one of these 8 partitions. The physical starting address is the same for each of the planes, and can be viewed as an offset from the start of partition. This starting address loaded from a 16 bit wide register. Interrupt Structure There are five lines into a 8 to 3 line priority encoder. They consist of three interrupt request lines from the 3 VIA's, one interrupt request line from the SCC, and a non-maskable interrupt. Each VIA has 2 timers that can inte:rrupt. The VIA #1 can interrupt because of vi…

Showing first 3,000 characters of 17,605 total. Open the full document →

Home Documents Macintosh Turbo Mac Hardware Memory Map
Turbo Mac Hardware Memory Map

Turbo Mac Hardware Memory Map

Macintosh · 1984 · PDF
FilenameTurbo_Mac_Hardware_Memory_Map_19841017.pdf
Size0.97 MB
Year1984
Subsection prototypes / 1984_Turbo_Mac
Downloads5
Enjoying MacTrove? Anonymous downloads are free and unlimited. Create a free account to track favorites, contribute metadata corrections, and join the community chat.
Reader
Turbo Mac Hardware Memory Map
/
Loading…
OCR / Text contents
CONFIDENTIAL ------------------------------------------ CONFIDENTIAL TURBO MAC : HARDWARE MEMORY MAP Burrell Smith and Brian Howard 17 October 1984 CONFIDENTIAL ------------------------------------------ CONFIDENTIAL INTRODUCTION Page 1 1. Page 2 Page 3 Page 5 2. THE TURBO MAC ADDRESS SPACE (Overview) 2.1 More Detailed Map of Turbo Mac Address Space 2.2 Address Line Decoding Page 7 3. RAM 3.1 Address Decoding to Activate RAMs Page 8 Page 9 Page 10 3.2 Further RAM Address Decoding 3.3 Some Useful RAM Addresses 3.4 Use of RAM by Hardware 3.4.1 Map of RAM on Power-Up 3.4.2 Normal Map of RAM 3.5 Use of RAM by System and Application Software 3.6 Hardware Exception Vectors Page 11 Page 12 Page 13 Page 14 4. 4.1 4.2 Page 15 Page 16 Page 17 Page 19 Page 20 Page 21 Page 22 Page 23 ROM Address Decoding to Activate ROMs Some Useful ROM Addresses AMU Address Decoding to Activate AMU Further AMU Address Decoding Some Useful AMU Addresses 5.4 Information About AMU Registers 5.4.1 DMA Address Registers 5.4.2 DMA Control Register 5. 5.1 5.2 5.3 6. 6.1 6.2 6.3 DMU Address Decoding to Activate DMU Further DMU Address Decoding Some Useful DMU Addresses 7. RANDOM LOGIC CONTROL (VDXO, VDXl and MISC) 7.1 Address Decoding to Activate Random Logic Control 7.2 Some Useful Random Logic Control Addresses Turbo Mac Memory Map 17 October 1984 Page 24 Page 25 Page 26 Page 27 Page 28 Page 29 Page 30 Page 31 8. SCC 8.1 Address Decoding to Activate SCC 8.2 Further SCC Address Decoding 8.3 Some Useful SCC Addresses 9. IWM 9.1 Address Decoding to Activate IWM 9.2 Further IWM Address Decoding 9.3 Some Useful IWM Addresses 10. VIA 10.1 Address Decoding to Activate VIA 10.2 Further VIA Address Decoding 10.3 Some Useful VIA Addresses 10.4 Turbo-Mac-Specific Information about VIA Registers 10.4.1 Port A Input, Output, and Data Direction Registers 10.4.2 Port B Input, Output, and Data Direction Registers 10.4.3 Control Registers 10.4.4 Interrupt Flag and Enable Registers Page 32 11. AUTO-VECTOR "READ" ADDRESSES Page 33 12. SOME USEFUL DECODING EQUATIONS Previous Document Versions: 1. Page 1 19-5ep-84, 10-Sep-1984. INTRODUCTION The principle portions of Turbo Mac's address space consist of volatile read/write memory (RAM) and permanent read-only memory (ROM). In addition to RAM and ROM, several input/output functions are also selected using address lines, so that they appear to occupy portions of the Turbo Mac "memory". These include the 6522 Versatile Interface Adapter (VIA), the 8530 Serial Communications Chip (SCC), the disk interface chip (IWM), the Address Management Unit (AMU), the Data Management Unit (DMU) , and the Random Logic Control. When the Turbo Mac is first turned on, ROM appears at the bottom (lowest addresses) portion of the address space. This is useful for the ROM-stored software which starts the system running. After startup, the OVERLAY signal from the VIA is changed to a low (zero), mapping RAM into its normal place at the bott…

Showing first 3,000 characters of 36,651 total. Open the full document →

Home Documents Macintosh Macintosh Hardware Memory Map
Macintosh Hardware Memory Map

Macintosh Hardware Memory Map

Macintosh · 1983 · PDF
FilenameMacintosh_Hardware_Memory_Map_19830413.pdf
Size0.58 MB
Year1983
Subsection prototypes / 1983_Twiggy
Downloads2
Enjoying MacTrove? Anonymous downloads are free and unlimited. Create a free account to track favorites, contribute metadata corrections, and join the community chat.
Reader
Macintosh Hardware Memory Map
/
Loading…
OCR / Text contents
----- CONFIDENTIAL ------------------------------------------ CONFIDENTIAL ----MACINTOSH HARDWARE MEMORY MAP Burrell Smith and Brian Howard 13 April 1983 ----- CONFIDENTIAL ------------------------------------------ CONFIDENTIAL ----Page 1 1. INTRODUCTION Page 2 2. MEMORY MAP ON POWER-UP (OVERLAY = 1) Page 3 3. NORMAL MEMORY MAP (OVERLAY = 0) Page 4 4. RAM 4.1 Address Decoding to Activate RAMs 4.2 Some Useful RAM Addresses 4.3 More Detailed Map of RAM 4.4 Hardware Exception Vectors Page 5 Page 6 Page 7 5. ROM 5.1 Address Decoding to Activate ROMs 5.2 Useful ROM Addresses Page 8 6. SCC 6.1 Address Decoding to Activate SCC 6.2 Further SCC Address Decoding 6.3 Some Useful SCC Addresses Page 9 Page 10 Page 11 Page 12 Page 13 Page 14 Page 15 Page 16 Page 17 7. IWM 7.1 Address Decoding to Activate IWM 7.2 Further IWM Address Decoding 7.3 Some Useful IWM Addresses 8. VIA 8.1 Address Decoding to Activate VIA 8.2 Further VIA Address Decoding 8.3 Some Useful VIA Addresses 8.4 Macintosh-Specific Information about VIA Registers 8.4.1 Port A Input, Output, and Data Direction Registers 8.4.2 Port B Input, Output, and Data Direction Registers 8.4.3 Control Registers 8.4.4' Interrupt Flag and Enable Registers 9. PHASE READ 9.1 Address Decoding to Activate PHASE READ 9.2 Further PHASE READ Address Decoding 9.3 Using PHASE READ Page 18 10. AUTO-VECTOR "READ" ADDRESSES Page 19 11. SOME USEFUL DECODING EQUATIONS 13 April 1983 1. Macintosh Memory Map Page 1 INTRODUCTION The principle portions of Macintosh's memory consist of volatile read/write memory (RAM) and permanent read-only memory (ROM). In addition to RAM and ROM, three input/output devices are also selected using address lines, so that they appear to occupy portions of the Macintosh memory space. These devices are the 6522 Versatl~e Interface Adapter (VIA), the 8530 Serial Communications,Chip (SCC), and the disk interface chip (IWM). When the Macintosh is first turned on, ROM appears at ehe bottom (lowest -- >-"1 addresses) portion of the memory space. This is useful for the ROM-stored software which starts the system running. Afte~·tup, the OVERLAY signal from the VIA is changed to a low (zero), mapping RAM into its normal place at the bottom of memory. Selection of RAM, ROM, or other devices is done by from two to five of the highest-order address lines, A23-A19. The VIA and IWM also use the four address lines A12-A9 for further internal decoding and register selection, while the SCC uses the three lowest-order address lines A2-A0 for internal decoding. In specifying "useful addresses" for most devices, unused address lines have been set high (to a one) to save a small amount of power and to improve noise immunity. Some address ranges are specified "Do Not Use" because they can select two devices simultaneously. While this does not cause any damage to the computer, data cannot be correctly transferred while these addresses are in use. 13 April 1983 2. Page 2 Macintosh Memor…

Showing first 3,000 characters of 21,546 total. Open the full document →

Subscribe to prototypes
mp.ls