Jump to content


  • Posts

  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

Alfa's Achievements


Newbie (1/14)




Community Answers

  1. When going through the VERA documentation on sprites I notice that each sprite record defines an address for the actual visual representation, but seems to only define bits 16-5(16:5). What happened to bits 4-0(4:0)? Are these just assumed to all zeros?
  2. Thank you both for your answers, and the updated example.
  3. No worries. We are all learning. I was shocked myself when I learned that little nugget. After so much time and different languages, IF-THEN-ELSE seems like a given. This and other limitation really makes you appreciate the more complicated BASIC programs from back in the day, and the elegance of modern languages.
  4. If that was the case then this should run without error: 10 IF 1=1 THEN X=1 ELSE X=2 20 PRINT X There really is no ELSE.
  5. I have been working on learning how the sprites work, and I started with the BASIC example in the x16-demo-master. I am trying to understand the addresses being used verses the VERA documentation. For example the first two lines where the sprite information is being loaded : 10 REM ADDRESS 12:5 20 VPOKE $F, $5000, 0 It seems odd to use bank $F and address $5000 when the VERA documentation states these entries start at $1FC00. This would seem to indicate bank $1 and address $FC00. I am obviously missing something here. Any pointers in the right direction would be appreciated.
  6. Well it looks like Commodore BASIC does not support ELSE. So that statement happens to be true causing the interpreter to hit the ELSE statement and fail. Also, I believe it only recognizes the first two characters of a variable name. so BIN1, BIN2, etc are all really BI. You might want to use an array there. The second paragraph in this wiki entry is the pertinent information as to the root of your issue. https://www.c64-wiki.com/wiki/IF
  7. Really like the site, but one thing I found when I first came to is that it is difficult to find the documentation. I think it really improve it to have a link to the documentation page on home screen. At least on top navigation or under support. It seems really counter intuitive to have such important information buried in the downloads sections. First off, the documentation is not really directly downloadable. It's just a link to a the github site where it renders as a web page. I know the documentation is really early, but it's still a great place to start and should be easily discoverable.
  8. It seems like you should not need ML routine to use these functions. To set the time should just require poking the desired values in the in-memory registers(memory locations $02,$03, etc) and then making a SYS $FF4D call to the function. Similarly, a SYS $FF50 should allow you to read the values from the registers. Unfortunately it looks like the RTC may not be implemented in the emulator(hopefully I am wrong on this), so test does not be possible.
  9. Thank you both for your very detailed answers. You’re right, I wasn’t thinking of the tile map as a character screen. It makes sense, now that I see it. Again thank you for your patience.
  10. How about: 10 SCREEN $80 20 REM BORROW COLOR 1 FOR BLACK AS 0 IS TRANSPARENT 30 VPOKE 1, $FA02, 0 40 VPOKE 1, $FA03,0 50 COLOR 6,1 60 CLS
  11. I have been looking through the programmer's reference and the VERA reference, and can not find information accessing the memory behind the various character modes. Everything seems to address the graphics modes. The memory map does not show it, so I assume its located in VRAM. Can someone point me in the right direction. Ideally I would like to read values currently on the screen in character mode. I apologize in advance if this in indeed in the documentation, and I just missed it. Thank you.
  12. Thank you for the tip. I saw the NES/SNES and didn’t know if any particular Windows joystick would work or did I need a special adapter.
  13. Thank you. I am not familiar with the SDL2 library and wasn’t sure how well it supported Windows.
  14. I am just starting to work with the emulator, and was curious if the emulator supported joysticks connected to the host system? If so, any particular model?
  • Create New...

Important Information

Please review our Terms of Use