|
发表于 2009-3-20 12:07:40
|
显示全部楼层
其他蠻簡單的,就針對第一個問題再說明下。
& g0 ?) t9 b C% l% k0xa10002 first controller
4 Q% A% M( w$ |! q3 m7 f3 Z# L0xa10004 second controller
7 n% ?6 n7 ?% v8 Y# S3 F' _
) S. M* c: g& O0 s8 @5 C& B0xA10003/0xA10005/0xA10007 are the DATA ports,
8 z) L7 K* W6 {which read from/write to joypad 0xA10009/0xA1000B/0xA1000D
4 ~+ I% y3 t4 k% Z& w5 Nare the CTRL ports, which set the input/ouput; \% [3 k" a. }" U9 v
# a' A1 J& f( \; Y& y- o- X5 l
. a0 j$ G# W4 C" @/ u想讓subroutine在任何時刻都有效,
, Y* o% x, E! U9 M$ F# n s* A就必須找global section。
) i7 b3 l6 k" }! D3 M4 k6 B控制器是其中一個," V; F3 O5 _7 ?8 g! U, N3 S
除了控制器當然還有其他可寫入的section存在。 |
|