c64

ca65 assembler and ld65 linker

那年仲夏 提交于 2019-12-10 18:49:05
问题 I'm beginning to use then ca65 assembler and ld65 linker on WIndows to create binary code for Commodore C64 computer, running on VICE emulator. I write this small "hello world" source on file "basic2.s" ;-------------------------------------- ; objetivo: assembly a header BASIC program ; to run binary code ; ; assembler: ca65 ; http://cc65.github.io/doc ; ; v101-c101 2018-08-09 13:50:53 A.Alonso ;----------------------------------------------------- PRINTTOKEN = $99 SYSTOKEN = $9e chrout =

Draw on screen border in Commodore 64

拜拜、爱过 提交于 2019-12-03 02:36:23
问题 Ok. I hope it does not get closed because I have this curiosity since 25 years and I would love to understand the trick. In the commodore 64 the border was not addressable by the 6569 VIC. All you could do was to draw pixels in the central area, the one where the cursor moved. The border was always uniform, although you could change its color with poke 53280,color if i remember correctly. Nevertheless I clearly remember games intros where the border was featured with graphics, like it was

Draw on screen border in Commodore 64

拜拜、爱过 提交于 2019-12-02 16:05:39
Ok. I hope it does not get closed because I have this curiosity since 25 years and I would love to understand the trick. In the commodore 64 the border was not addressable by the 6569 VIC. All you could do was to draw pixels in the central area, the one where the cursor moved. The border was always uniform, although you could change its color with poke 53280,color if i remember correctly. Nevertheless I clearly remember games intros where the border was featured with graphics, like it was fully addressable. I tried to understand how it worked but never got to the point. legends say it was a

How do I show sprites in the border on C64?

回眸只為那壹抹淺笑 提交于 2019-11-27 19:59:30
问题 I've seen cool C64 demos showing sprites in the border area of the screen. It shouldn't be possible; I think they managed to fool the graphics chip somehow. How exactly did they do it? 回答1: Yes, you need assembler. It's an interrupt timing trick. The VIC is able to show sprites in the border, but the frame is just hiding them, so the sprites can slide behind it. It's connected to scan lines displayed by the VIC. For lower/upper borders it's quite simple: Programm an interrupt, synced to start

How do emulators work and how are they written? [closed]

烂漫一生 提交于 2019-11-26 13:54:23
How do emulators work? When I see NES/SNES or C64 emulators, it astounds me. Do you have to emulate the processor of those machines by interpreting its particular assembly instructions? What else goes into it? How are they typically designed? Can you give any advice for someone interested in writing an emulator (particularly a game system)? Cody Brocious Emulation is a multi-faceted area. Here are the basic ideas and functional components. I'm going to break it into pieces and then fill in the details via edits. Many of the things I'm going to describe will require knowledge of the inner

How do emulators work and how are they written? [closed]

匆匆过客 提交于 2019-11-26 03:45:50
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 6 years ago . Locked . This question and its answers are locked because the question is off-topic but has historical significance. It is not currently accepting new answers or interactions. How do emulators work? When I see NES/SNES or C64 emulators, it astounds me. Do you have to emulate the processor of those machines by