Re: A86: Inferred timing...Help!!


[Prev][Next][Index][Thread]

Re: A86: Inferred timing...Help!!



> the linkport has two data lines.  How do you want them to flicker?  Tell me
> that and I'll do it.

I made some code that fickers both the white and red lines on and off at
the same time. I only need you to help me optimize it. While run this
code I'm going to hook the linkport up to a osciscope (whatever, I cant
spell) to determine the fastest the linkport can run under asmbly. With
this information I'll be able to make an inferred link that will funtion
under fast transfer asmbly programs. See if you can find anyway to
optimize this code for speed: 
	-Michael
#include "asm86.h"
#include "ti86asm.inc"

.org _asm_exec_ram

	call _clrLCD
	ld hl,$0000
	ld (_curRow),hl
	ld hl,title
	call _puts
        ld c, $07     
Port_loop:
	ld b, $FC
	out (c),b
	ld b,$C0
	out (c),b
	jp keyloop

keyloop:
	call $5371
	cp $37
	jr z,quit
	jp Port_loop

quit:
	ld b,$C0
	out (c),b
	ret
	
title:
	.db "                     "
	.db "  Michael Malluck's  "
	.db "      PortTest       "
	.db "       V 2.5         "
	.db "                     "
	.db " Press exit to exit  ",0
	

.END
.END
.END

Follow-Ups: References: