Still programming the Commodore 64Trisect Retro Development, 15. okt. 2020 - 142 sider In this book you will learn to program a game step by step in Commodore 64 assembly. You will learn to make a big 100 x 100 character multicolor map in CharPad on scroll it on the screen. You will also learn to show sprites, animate characters, play music and sound effects and much more. |
Almindelige termer og sætninger
Branch on carry Branch on result bullet y position BulletActive byte carry clear carry flag carry set Check CheckPrisoners cmp $01 bne collision Colour Compare to value Compare with value continue Decrement Disable electric fence enemy equal explosion extended game won Gosub Hide HideBullet Include Increment Insert joystick JoystickInput jsr WaitForIt255 jsr lda PlayerXPosition lives Load bullet Load bullet direction Load map Load prisoner Load the value Load value $01 Locations loop map memory map y position MapOrPlayerH menu method mode Move MSIGX picked play player player sprite PointToSpriteData prisoner2 region result not zero result zero Return routine rts endregion screen scroll scrollbyteY sprite data sprite index Store in map Store in NumberLoIndex Store in prisoner Store in sprite subroutines.asm file Transfer variable WaitForIt255 jsr WaitForIt255