Search results
suggestion on optimization
Score: 148.28 %,
Type: Forum topic , Comments: 42 comments
suggestion to make it way faster ?
_plot_enemy:
ld iy,ram_sat
ld ix,enemies
ld bc,max_enem*256+0
.npc_loop1:
bit 0,(ix+enemy_data.status)
jp z,.next
ld l,(ix+enemy_data.y)
ld h,(ix+enemy_data.y+1)
ld ... ymap < -16
ld de,128+16
sbc hl,de ; enemy.y - ymap + 16 - 128 - 16 >= 0
jp nc,.next ; ...
sjasm and macros
Score: 147.84 %,
Type: Forum topic , Comments: 0 comments
is a number, I need to test it against 0, if it is a string, I want to test it against 'A' ... <> 'a') and (value <> 'A')
if (value & 0xFF>0)
ld a,value & 0xFF
else
xor a
endif
endif
out (0x99),a
ld a,register + 0x80
out (0 ...
soft scrolling in 8 directions
Score: 147.65 %,
Type: Forum topic , Comments: 2 comments
These two options for scrolling on msx1 have already been discussed in the XRacing thread
https://github.com/artrag/scroll_8_ways
but now I was thinking than on msx2, using the special vram arrangement used above, one could use 16 pages of 256 ...
