Zum Eintragen hier klicken.
Name | Kommentar |
![]() |
erstellt am 05. März 2022 um 12:09 Uhr MEZ ![]() ![]() ![]() Hi Georg, Please find below the data statements from BASIC Program. If all data is correct then you should not get the error!. The original program did not copy line 700 DATA numbers and hence error. Please convert this program into ML for me! thanks Syed Kommentar von Endurion: See your email reply! ![]() |
![]() |
erstellt am 05. März 2022 um 12:04 Uhr MEZ ![]() ![]() ![]() 600 REM ***** LESS DATA! ******* 610 DATA 0,1,1432,2,3406,2,3215,2,2864,2,3215,2,3406,2 620 DATA 2145,12 630 DATA 1432,2,3406,2,3215,2,2864,2,3215,2,3406,2 640 DATA 4291,6,2145,6,0,0 700 DATA 710 DATA 8583,2,7647,2,6812,2,6430,2,5728,2,5103,2,0,0 800 DATA 15294,40,11457,4 810 DATA 8583,44,11457,4 820 DATA 12860,40,11457,4,8583,4,7647,48,0,0 |
![]() ![]() |
erstellt am 28. Februar 2022 um 2:05 Uhr MEZ ![]() ![]() ![]() Hi Georg, below is an example BASIC Program, how to convert it into ML? especially the DIM H(500,2) AND H(I,K)= HF%? FROM LINE 10 TO LINE 200, PLEASE HELP CONVERT!!! THANKS SYED 1 REM *******CONTROLLING MULTIPLE VOICES WITH INDEPENDENT DURATION****** 2 REM ****CHAPTER 33*********** 10 FOR S=54272TO54296 ![]() 15 M=54272 20 DIM H(500,2),L(500,2),D(500,2) 30 V(0)=17:V(1)=17:V(2)=17 40 REM ***LOAD ARRAY**** 100 FOR K=0 TO 2 110 I=0 120 READ N,DR 130 IF DR=0 THEN 200 140 WF=V(K):WX=WF-1 150 HF%=N/256:LF%=N-256*HF% 160 IF DR=1 THEN H(I,K)= HF%:L(I,K) = LF% ![]() 170 FOR J=1TODR-1:H(I,K)= HF%:L(I,K) = LF% ![]() 180 H(I,K)= HF%:L(I,K) = LF% ![]() 190 I=I+1:GOTO120 200 NEXT K 250 REM ****SOUND SETTINGS**** 300 POKE 54277,0 ![]() 310 POKE 54284,0 ![]() 320 POKE 54291,0 ![]() 330 POKE 54296,15 399 REM ******FACING THE MUSIC****** 400 P1=0 ![]() ![]() 410 POKE 54272,L(P1,0) ![]() 420 POKE 54279,L(P2,1) ![]() 430 POKE 54286,L(P3,2) ![]() 440 POKE 54276,D(P1,0) ![]() ![]() 445 FOR T=1 TO 3:NEXT T 450 P1=P1+1 ![]() ![]() 455 IF D(P1,0)=0 THEN2000 460 IF D(P2,1)=0 THEN2500 465 IF D(P3,2)=0 THEN3000 470 GOTO 410 600 REM ***** LESS DATA! ******* 610 DATA 0,1,1432,2,3406,2,3215,2,2864,2,3215,2,3406,2 620 DATA 2145,12 630 DATA 1432,2,3406,2,3215,2,2864,2,3215,2,3406,2 640 DATA 4291,6,2145,6,0,0 700 DATA 710 DATA 8583,2,7647,2,6812,2,6430,2,5728,2,5103,2,0,0 800 DATA 15294,40,11457,4 810 DATA 8583,44,11457,4 820 DATA 12860,40,11457,4,8583,4,7647,48,0,0 2000 P1=1:GOTO460 2500 P2=49:GOTO 465 3000 P3=1 ![]() Kommentar von Endurion: Hi, The BASIC program runs onto BAD SUBSCRIPT ERROR IN 170 for me. It fills beyond the 500 indices. This looks like a logical error for me. Regarding the DIMs, you just need to set aside a certain place in memory with the required size: C64Studio/ACME like: H !fill 500 * 2 You could also probably just prefill the memory with the data instead of calculating it on the fly, depends on what your goal is; to keep size small, or to startup fast. Kommentar von Endurion: Do you have a version of the BASIC program that runs successfully? In that case I can take a look, but the version here seems to overrun an array and never get to actually playing music. |
![]() ![]() |
erstellt am 17. Januar 2022 um 16:38 Uhr MEZ ![]() ![]() ![]() Hi. Really enjoyed playing Soulless 2 on .CRT!! Firstly, just letting you know there is a possible softlock that can occur in the second level (Temple) after getting Armour of Gods, but before getting the armour gun. There is wall that can be shot to enter a secret room on the right. If you shoot the wall open, equip the armour and enter that room on the right, then the armour gets stuck in the shootable wall when exiting again. There is not enough space to land the armour. So without the armour gun you are stuck. You can leave the armour in the room on the right, but without the armour equipped it is impossible to get to the armour gun. The length of the floor spikes is too far to jump across. So quit and restart from beginning. After getting used to the up+diagonal jumping controls, I played through the whole game using savestates in VICE. This is the only major bug i found. The only other glitch is sometimes i noticed taking damage from invisible enemy projectiles, especially the monkeys in level 1. Overall, the quality of the game is outstanding! Having such fantastic modern tools for C64 game development like CBM Prg Studio, C64 Debugger, SpritePad, CharPad, etc makes it so much easier to achieve such high quality game and presentation. I certainly hope to learn more machine code and use these great tools to write my own C64 game in the near future. Have already started putting all the ideas together. Have dreamed of doing this since i got my first C64 in 1989. If only all commercial C64 games had even had half the quality of Soulless 2. Well worth the money! Thanks ![]() Finally, I loved how Soulless 2 reuses some great elements of Armour of Antirad, but with significant graphical enhancements. Look forward to another adventure with King Rizek. Kommentar von Endurion: Glad you like it ![]() And really good job on finding that gameplay bug. That one never occurred to us. Regarding tools, yeah, it's incredible nowadays. All the info that's available under your finger tips. I used C64Studio (of course) for Soulless 2. I'll happily forward your feedback to Smila, he did the graphics and the overall design of the game. |
![]() ![]() |
erstellt am 17. Januar 2022 um 0:59 Uhr MEZ ![]() ![]() ![]() the download on your site currently for c64 studio has a ransomware trojan inside the zip Kommentar von Endurion: Thanks for the info. Luckily it really hasn't. It's a false positive. I've had it checked, and confirmed as false positive with Microsoft. Unfortunately it'll take a while for the signature updates to spread. |
![]() ![]() |
erstellt am 16. Januar 2022 um 15:03 Uhr MEZ ![]() ![]() ![]() My problem is a little bit more complicated, I need to concat a label by expression. Is there the possibility for using a global counter for using within a label? !mymacro a,b,c { lab##(a*8+b*2+c) lda #$ff } !for a = 0 TO 2 !for b = 0 TO 2 +mymacro a,b,0 +mymacro a,b,1 !end !end I also tried to use a variable !mymacro q { lab##q lda #$ff } i =0 !for a = 0 TO 2 !for b = 0 TO 2 i = a * 8 + b * 2 +mymacro i i = i + 1 +mymacro i !end !end It seems the paramater of mymacro are always interpreted as STRING using ##. |
![]() ![]() |
erstellt am 16. Januar 2022 um 2:49 Uhr MEZ ![]() ![]() ![]() Hi Is there a way for using dynamical labels? I tried to concat a label with a variable within a macro, but it does not work I want to get this code: lab0 lda #$ff sta $0400 lab1 lda #$ff sta $0400 lab2 lda #$ff sta $0400 !macro mymacro z { lab##z lda #$ff sta $0400 } !for i = 0 TO 2 mymacro i !end Kommentar von Endurion: Hi, That way you posted should be exactly how it works: !macro mymacro z { lab##z lda #$ff sta $0400 } !for i = 0 TO 2 mymacro i !end Assembles fine for me. If it doesn't for you, can you show me the exact errors you get? |
![]() ![]() |
erstellt am 14. Januar 2022 um 8:22 Uhr MEZ ![]() ![]() ![]() Hi, I have just tried to update to version 7.0 and got a virus warning from Windows Defender and the C64Studio.exe was deleted. It reports it having Worm:Win32/DroInux. Is it safe to install? Thank you very much. Alexis. Kommentar von Endurion: Hi, Yes. Others informed me of that issue, and I contacted Microsoft about this. It was a false positive, they updated the signature. Thanks for informing me! Best regards, Georg |
![]() ![]() |
erstellt am 09. Januar 2022 um 2:38 Uhr MEZ ![]() ![]() ![]() I think C64 Studio is awesome. Could it be possible to add to the Screen Editor features to shift up, down, left and right and mirroring? Regards. Walter-- Kommentar von Endurion: Hi, Sure thing, it's on the list now! |
![]() |
erstellt am 03. Januar 2022 um 18:08 Uhr MEZ ![]() ![]() ![]() Thanks for a fast reply on the new behavior of selecting colors when editing chars/sprites, not sure I like it thou ![]() I tried the updated version in your link, did a clean install (Portabel Mode), but I see no change inte the behavior when binding keys to "Custom color", "Multi Color 1" or "Multi Color 2". If you are taking a look at it, would it also be possible to bind a key to "Background" color? And the bound keys works kinda strange... Sprite Editor = Reacts to keys, IF you first have clicked in the "Drawing area", but also changes the color with +1. Char Editor= No function. Graphic Editor = No function. But here the old behavior of plot and delete works, rightclick to delete.... and "Bullet Selector" is missing I think. Text Screen Editior = No function. And a last note, in all the above editors... the key bound to "Multi Color 1" changes the color with +1 if you recently used the droplist to change a color if the droplist is still marked. Kommentar von Endurion: Ouch, that sounds completely inconsistent. Matches my code ![]() I'm sorry, I'll look into it, more in detail this time. The requirement of a focused editor window came in when people bound the plain number keys (1 to 3) to the color settings. They would override the entry in regular text boxes. |
![]() ![]() |
erstellt am 01. Januar 2022 um 12:43 Uhr MEZ ![]() ![]() ![]() Updated to v7.0, the Sprite Editor and the Charset Editor changed, not sure if this is a new feauter or if it's a bug. Symtop is that leftclicking with the mouse selects color under the mousepointer instead of using background color to "delete". Note: Would be nice if it was possible to bind keys to select colors that are set, insted of binding key to both change color and select the color at the same time. Like pressing 1-4 to just select color without changing the preset color. v6.8 have the "normal" right/left click editing. Kommentar von Endurion: Yeah, I have changed the behaviour so right click means now pick color. It makes sense for a few of the other modes; and I wanted to make the behaviour consistent. Regarding the note; that sounds like not intended by me, I'll look into it! Thanks! Update: I fixed the bug where selection would also change the actual color, for a preview https://www.georg-rottensteiner.de/webmisc/C64StudioRelease.zip |
![]() ![]() ![]() |
erstellt am 08. Dezember 2021 um 16:38 Uhr MEZ ![]() ![]() ![]() Just to let you know that C64 studio was mentioned here: https://www.youtube.com/watch?v=mjPucWkmqCg Kommentar von Endurion: Interesting piece, thanks! ![]() |
Administration |