|
Post by VDC 8x2 on Jun 19, 2014 20:36:41 GMT
Thank you for the work you are doing!
|
|
|
Post by VDC 8x2 on Jun 19, 2014 20:34:36 GMT
Looking into its code to look for ideas on doing a split screen with graphics and text on vdc.
|
|
|
Post by VDC 8x2 on Jun 19, 2014 20:32:36 GMT
Never mind, I see what you mean. bit does the and thing
|
|
|
Post by VDC 8x2 on Jun 19, 2014 20:25:05 GMT
It would not be better because the code is waiting for the vblank bit? Am I wrong? does bit change the A reg?
yeah the bitwise stuff was a typo on my part.
|
|
|
Post by VDC 8x2 on Jun 19, 2014 7:45:04 GMT
Some code I pulled out of risen from oblivion.
*=$fe11 start sei lda #$20 ;wait for vblank and $d600 beq *-5
lda #>fe31 ;irq vector sta $fffe lda #>$fe31 sta $ffff
lda #$20 ;wait for screen and $d600 bne *-5 lda #$19 ;set cia1 clock sta $dc0e cli rts
irqfe31 pha lda $dc0d ;clear irq source lda #$20 and $d600 bne *-5 ;wait for screen lda #$19 sta $dc0e ;set cia1 clock txa pha ;push x on the stack tya pha ;push y on the stack jsr $e003 pla tay ;pull y from the stack pla tax ;pull x from the stack pla ;pull a from the stack rti ;return from the irq
|
|
|
Post by VDC 8x2 on Jun 19, 2014 7:35:42 GMT
okay
|
|
|
Post by VDC 8x2 on Jun 18, 2014 3:53:35 GMT
How many cycles of code do you think can be run during the vdc vblank?
|
|
|
Post by VDC 8x2 on Jun 18, 2014 1:22:01 GMT
How about these post count titles...
Windows user 0 posts KIM-1 user 20 posts PET user 40 posts Vic 20 user 80 posts Plus4 user 160 posts C64 user 320 posts C128 user 640 posts C128D user 1280 posts
Any other computers to add or post count ideas?
|
|
|
Post by VDC 8x2 on Jun 16, 2014 20:16:33 GMT
This should be the final version of the LINKER.
JSETBANK = $f73f ModStart = $1300 jsradd0 = $0ae2 jsrbank0 = $0ada LDfile = $2000 NormIrq = $2003 Err_Msg = $2006 *=$1000 start lda #%01001110 ;custom bank1 sta $ff00 Linker lda $0f11 bne @skip lda $0f12 sta $08ee lda #$01 sta $0f12 @skip jsr NormIrq lda #$00 sta $0bfc @uhoh ldx $0f11 lda lo_byte,x sta $a6 ;was 31a0 lda hi_byte,x sta $a7 ;was 31a2 lda length,x pha lda #$00 ;load bank ldx #$01 ;filename bank jsr JSETBANK ldx #$00 ldy #$08 pla jsr LDfile beq @itsago jsr Err_Msg ;error message jmp @uhoh @itsago lda #<ModStart sta jsradd0 lda #>ModStart sta jsradd0+1 jsr jsrbank0 jmp Linker
filename00 text "GEN" filename01 text "DUNGEON" filename02 text "COMBAT" filename03 text "INIT" filename04 text "COM.PREP" filename05 text "POST.COM" filename06 text "FINAL" filename07 text "CAMP"
length byte $03,$07,$06,$04,$08,$08,$05,$04
lo_byte bytes <filename00*1,<filename01*1,<filename02*1,<filename03*1 bytes <filename04*1,<filename05*1,<filename06*1,<filename07*1
Hi_byte bytes >filename00*1,>filename01*1,>filename02*1,>filename03*1 bytes >filename04*1,>filename05*1,>filename06*1,>filename07*1
|
|
|
Post by VDC 8x2 on Jun 16, 2014 19:36:12 GMT
thanks for catching that. I will put that in there.
I know it can use drive 9 for sure. I had copied files to 3 1581 disks and used a 3rd party loader on drive 9.
I played those games the first time that way, back in the day.
|
|