Search results
LDIR, dynamic DE
Score: 172.41 %,
Type: Forum topic , Comments: 2 comments
ld bc,32 ; 32 characters per line
ldir ; DE<-HL until BC=0
I am trying to get ... as well. Like for example:
; a = page
ld h,0
ld l,a
add hl,hl ; x 32
add hl,hl
add hl,hl
add ...
ldir ; DE<-HL until BC=0
By not modifying de but using bc as addend instead, one can ...
Assembler with possibility to create pseudo mnemonics
Score: 172.34 %,
Type: Forum topic , Comments: 14 comments
in Carry 0
WRITEVD: SCF accessing this carry=1
ex af,af
SOMEROUTINE
ex af,af ... > IFDEF ADD_N16_ARG1_TEST_de
718 C8BF E5 > push hl
718 C8C0 21 3C 12 > ...
Boot from disk
Score: 172.25 %,
Type: Forum topic , Comments: 14 comments
in by the boot sector code) by using 0xf37d as the entry point. Note that if you are using a custom boot sector ROM BIOS will be in page 0 instead of RAM when the boot sector code is called the first time (carry ... sector code is called again, this time with RAM in page 0, and when the standard boot sector code ...
BASIC - detect the presence of a disk
Score: 172.2 %,
Type: Forum topic , Comments: 25 comments
was to use dskf(0), which should throw an error if the function call or disk isn't available. And this works fine with plain MSX BASIC, both on an emulator (tested BASIC 1.0 with and without Disk BASIC, and BASIC 2.0 with and without a floppy available) and on my SVI738 with BASIC 3.0. However, with my ...
RESTORE I -> undefined line number
Score: 172.21 %,
Type: Forum topic , Comments: 4 comments
from which the DATA values should be read:
10 LET I = 60
20 RESTORE I
30 READ J:IF J=0 THEN END
40 PRINT J
50 GOTO 30
60 DATA 1,2,3,4,5,0
I expect this to output 1,2,3,4 and 5, each on a line, ...
40 IF D(C,0)=0 THEN END
50 PRINT D(C,0)
60 C=C+1: GOTO 40
(Development) ...
Trilotracker with an external SCC in DOS mode
Score: 172.14 %,
Type: Forum topic , Comments: 9 comments
in page #8000-#BFFF than the page frame #4000-#7FFF
call 0x138 ; get into A primary slot
rrca
rrca
and 0x03 ; isolate slot for page #4000-#7FFF
ld c,a
ld b,0
ld hl,0xfcc1 ; get subslot flag (bit 7) for this primary slot
add hl,bc
or (hl) ; bit 0 ...
MSX-Music Hi-hat question
Score: 171.72 %,
Type: Forum topic , Comments: 12 comments
AFAIK.
I can confirm that registers I can confirm that registers 0x17, 0x18, 0x27 and 0 ...
Hardware accelerated polygon fill using LMMM
Score: 171.81 %,
Type: Forum topic , Comments: 8 comments
I give you this little demonstration:
100 COLOR 15,0,0:SCREEN 5
110 COLOR=(4,7,0,0):COLOR=(8,0,7,0):COLOR=(12,7,7,0)
120 P=0:SETPAGE P,1-P:CLS
130 FOR I=-31 TO 32
140 SETPAGE P,1-P
150 J=ABS(I)-16
160 LINE (64,74)-(191,137),0,BF
170 LINE (80+J,74)-(80-J,137),4,,XOR
180 LINE (159+J,74)-(159-J,137),4,,XOR
190 LINE ...
Parsing Command Structure?
Score: 171.66 %,
Type: Forum topic , Comments: 11 comments
B, (HL)
Compare A and B
Then some routine after that to create a number between 0-255.
Is ... C, A ; Put length in BC
LD B, 0
INC DE ; Increment pointers ... Buffer
DL = Table.
Take first byte of table like
Ld a, (de)
ld c, a
ld b, 0
So CPI ...
Scroll 1px problem, need your help
Score: 171.68 %,
Type: Forum topic , Comments: 8 comments
on the scroll direction. When going right, a new map is needed between +0 and +7. When going left, it's between +7 and +0. So I bluntly tested loading a new map at each step, but the problem is still there: ... on the scroll direction. When going right, a new map is needed between +0 and +7. When going left, it's ...
