Connections:
Code: Select all
EPSON CHIP W65C265s MCU
---------- ------------
RD# MEMOEB (through NAND gate)
WR# MEMWEB (NAND gate, too)
CS# P76_CS6BCode: Select all
EPSON CHIP W65C265s MCU
---------- ------------
RD# MEMOEB (through NAND gate)
WR# MEMWEB (NAND gate, too)
CS# P76_CS6BCode: Select all
; Target assembler: 64tass v1.53.1515 [--ascii --case-sensitive --nostart --long-address -Wall]
; 6502bench SourceGen v1.7.2-dev1
.cpu "65816"
* = $8000
.as
.xs
sei
clc
xce
lda #$00
sta $460804
lda #$00
sta $460810
lda #$03
sta $460812
lda #$31
sta $460810
lda #$01
sta $460810
jsr L80E2
nop
nop
lda #$0a
sta $460816
lda #$02
sta $460804
lda #$4d
sta $460820
lda #$01
sta $460822
lda #$20
sta $460824
lda #$63
sta $460826
lda #$c0
sta $460828
lda #$47
sta $46082a
lda #$0a
sta $46082c
lda #$01
sta $46082e
lda #$01
sta $460830
lda #$00
sta $460832
lda #$01
sta $460840
lda #$00
sta $460842
lda #$00
sta $460844
lda #$01
sta $460850
lda #$84
sta $460853
lda #$03
sta $460854
lda #$01
sta $460856
lda #$c0
sta $460858
lda #$00
sta $46085a
lda #$00
sta $46085c
lda #$01
sta $460860
lda #$40
sta $460862
lda #$01
sta $460864
lda #$00
sta $460866
lda #$00
sta $460868
lda #$01
sta $4608d0
lda #$01
sta $4608d2
lda #$00
sta $4608d4
lda #$00
sta $4608ff
brk
.byte $00
L80E2 ldy #$ac
ldx #$00
_L80E6 jsr _L80EF
dex
bne _L80E6
dey
bne _L80E6
_L80EF rts
Code: Select all
LINE# DESCRIPTION
===== ===========
1 The FCLKOB pin: the clock tick as it's being fed into the '265s.
2 The PHI2 pin: the clock tick that the '265s feeds to the rest of the system.
3 The PCLK pin: the clock tick that the EPSON chip feeds to the LCD panel.
4 The DE pin: the "display enable" that tells the LCD where to start drawing pixels.
5 The HS pin: the horizontal sync pulse.
6 The VS pin: the vertical sync pulse.
Code: Select all
46:0000 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
46:0010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
46:0020 11 11 11 00 11 11 11 00 11 11 11 00 11 11 11 00
46:0030 11 11 11 00 11 11 11 00 11 11 11 00 11 11 11 00
46:0040 11 11 11 00 11 11 11 00 11 11 11 00 11 11 11 00
46:0050 11 11 11 00 11 11 11 00 11 11 11 00 11 11 11 00
46:0060 11 11 11 00 11 11 11 00 11 11 11 00 11 11 11 00
46:0070 11 11 11 00 11 11 11 00 11 11 11 00 11 11 11 00
46:0080 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
46:0090 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
46:00A0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
46:00B0 11 11 11 00 11 11 11 00 11 11 11 00 11 11 11 00
46:00C0 11 11 11 00 11 11 11 00 11 11 11 00 11 11 11 00
46:00D0 11 11 11 00 11 11 11 00 11 11 11 00 11 11 11 00
46:00E0 11 11 11 00 11 11 11 00 11 11 11 00 11 11 11 00
46:00F0 11 11 11 00 11 11 11 00 11 11 11 00 11 11 11 00Code: Select all
40:0000 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
40:0010 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11
40:0020 22 22 22 22 22 22 22 22 22 22 22 22 22 22 22 22
40:0030 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33
40:0040 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44
40:0050 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55
40:0060 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
40:0070 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
40:0080 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
40:0090 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
40:00A0 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
40:00B0 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
40:00C0 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
40:00D0 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
40:00E0 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
40:00F0 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FFCode: Select all
When BE goes high after RESB goes high the BCR sets up the W65C265S for emulation. Port 0 and 1 are the address outputs, Port 2 is the data I/O bus and RUN is the multiplexed RUN function.Code: Select all
When BE goes high after RESB goes high the BCR sets up the W65C265S for emulation. Port 0 and 1 are the address outputs, Port 2 is the data I/O bus and RUN is the multiplexed RUN function.