Jump to content

Photo

pfcolors and pfheights together-- in RAM!


31 replies to this topic

#26 abaudrand OFFLINE  

abaudrand

    Chopper Commander

  • 236 posts

Posted Sun Nov 7, 2010 10:53 AM

:) Finally succeed to use your code. Despite errors message after compiling, it works perfectly!!! Big thumbs up for the work!:thumbsup::thumbsup:

#27 SeaGtGruff OFFLINE  

SeaGtGruff

    Quadrunner

  • Topic Starter
  • 5,558 posts
  • Location:Georgia, USA

Posted Sun Nov 7, 2010 10:49 PM

Posted Image Finally succeed to use your code. Despite errors message after compiling, it works perfectly!!! Big thumbs up for the work!Posted Image:thumbsup:

Thank you! I'm glad it helped you. :)

Michael

#28 abaudrand OFFLINE  

abaudrand

    Chopper Commander

  • 236 posts

Posted Sat Jul 27, 2013 7:50 AM

Sorry to plague this thread but I entcounter some issue since I had to upgrade to W7 64 bits. I ve replaced all files mentionned above but the compilation fail each time. Has someone test this kernel on w7 64 bits?

Edit: I've tried to compile the example "test_pfcolors_with_pfheights_SC.bas" and get this error message:
DASM V2.20.07, Macro Assembler (C)1988-2003
	  bytes of ROM space left in bank 1
	  bytes of ROM space left in bank 2
2600basic_SC.h (68): error: EQU: Value mismatch.
old value: $00a4  new value: $00a6
2600basic_SC.h (69): error: EQU: Value mismatch.
old value: $00a5  new value: $00a7
2600basic_SC.h (70): error: EQU: Value mismatch.
old value: $00a6  new value: $00aa
2600basic_SC.h (71): error: EQU: Value mismatch.
old value: $00a7  new value: $00ab
2600basic_SC.h (72): error: EQU: Value mismatch.
old value: $00a8  new value: $00ae
2600basic_SC.h (73): error: EQU: Value mismatch.
old value: $00a9  new value: $00af
2600basic_SC.h (74): error: EQU: Value mismatch.
old value: $00aa  new value: $00b2
2600basic_SC.h (75): error: EQU: Value mismatch.
old value: $00ab  new value: $00b3
2600basic_SC.h (76): error: EQU: Value mismatch.
old value: $00ac  new value: $00b6
2600basic_SC.h (77): error: EQU: Value mismatch.
old value: $00ad  new value: $00b7
2600basic_SC.h (78): error: EQU: Value mismatch.
old value: $00ae  new value: $00ba
2600basic_SC.h (79): error: EQU: Value mismatch.
old value: $00af  new value: $00bb
2600basic_SC.h (80): error: EQU: Value mismatch.
old value: $00b0  new value: $00be
2600basic_SC.h (81): error: EQU: Value mismatch.
old value: $00b1  new value: $00bf
2600basic_SC.h (82): error: EQU: Value mismatch.
old value: $00b2  new value: $00c2
2600basic_SC.h (83): error: EQU: Value mismatch.
old value: $00b3  new value: $00c3
2600basic_SC.h (84): error: EQU: Value mismatch.
old value: $00b4  new value: $00c6
2600basic_SC.h (85): error: EQU: Value mismatch.
old value: $00b5  new value: $00c7
2600basic_SC.h (86): error: EQU: Value mismatch.
old value: $00b6  new value: $00ca
2600basic_SC.h (87): error: EQU: Value mismatch.
old value: $00b7  new value: $00cb
2600basic_SC.h (88): error: EQU: Value mismatch.
old value: $00b8  new value: $00cc
2600basic_SC.h (89): error: EQU: Value mismatch.
old value: $00b9  new value: $00cd
2600basic_SC.h (90): error: EQU: Value mismatch.
old value: $00ba  new value: $00ce
2600basic_SC.h (91): error: EQU: Value mismatch.
old value: $00bb  new value: $00cf
2600basic_SC.h (92): error: EQU: Value mismatch.
old value: $00bc  new value: $00d0
2600basic_SC.h (93): error: EQU: Value mismatch.
old value: $00bd  new value: $00d1
2600basic_SC.h (94): error: EQU: Value mismatch.
old value: $00be  new value: $00d2
2600basic_SC.h (95): error: EQU: Value mismatch.
old value: $00bf  new value: $00d3
2600basic_SC.h (245): error: EQU: Value mismatch.
old value: $00a4  new value: $10d0
2600basic_SC.h (252): error: EQU: Value mismatch.
old value: $00a4  new value: $10d0
	  3601 bytes of ROM space left in bank 1
	  2292 bytes of ROM space left in bank 2
	  3601 bytes of ROM space left in bank 1
	  2292 bytes of ROM space left in bank 2
	  3601 bytes of ROM space left in bank 1
	  2292 bytes of ROM space left in bank 2
--- Unresolved Symbol List
pfcenter				 0000 ????		 (R )
pfwidth				  0000 ????		 (R )
Fatal assembly error: Source is not resolvable.
Errors were encountered during assembly.

Edited by abaudrand, Sat Jul 27, 2013 2:15 PM.


#29 SeaGtGruff OFFLINE  

SeaGtGruff

    Quadrunner

  • Topic Starter
  • 5,558 posts
  • Location:Georgia, USA

Posted Sat Jul 27, 2013 3:31 PM

The value mismatches are not errors as such, they should just be warnings from where addresses change between the assembler's initial pass through the code and subsequent passes.

So I think pfcenter and pfwidth are the real errors-- they aren't defined anywhere but something in the code is referring to them. Are you generating a list file? You might search through the list file for references to pfcenter and pfwidth.

#30 abaudrand OFFLINE  

abaudrand

    Chopper Commander

  • 236 posts

Posted Sun Jul 28, 2013 3:54 AM

I ve tried something stupid and it work.. I got a copy of my previous configuration that worked on XP and just overwrite preprocess, 2600bat.exe and postprocess which only worked for W7. I can now compile your test or my game on W7... guess I ve missed something in the installation that I haven t previous time...
Now that I got a working configuration, Ill try to upgrade to RevEng 64ko method.

#31 Cybearg OFFLINE  

Cybearg

    Dragonstomper

  • 950 posts

Posted Mon Oct 13, 2014 12:02 AM

I've just tried this as well, with similar errors and no luck compiling the demo or my own attempt:

 

 

[10/13/2014 1:00:07 AM] saving K:\vbB\projects\Grinch\test_pfcolors_with_pfheights_SC.bas succeeded.

Compile started at 10/13/2014 1:00:08 AM
Compiling K:\vbB\projects\Grinch\test_pfcolors_with_pfheights_SC.bas
old value: $00a4  new value: $00a6
old value: $00a5  new value: $00a7
old value: $00a6  new value: $00aa
old value: $00a7  new value: $00ab
old value: $00a8  new value: $00ae
old value: $00a9  new value: $00af
old value: $00aa  new value: $00b2
old value: $00ab  new value: $00b3
old value: $00ac  new value: $00b6
old value: $00ad  new value: $00b7
old value: $00ae  new value: $00ba
old value: $00af  new value: $00bb
old value: $00b0  new value: $00be
old value: $00b1  new value: $00bf
old value: $00b2  new value: $00c2
old value: $00b3  new value: $00c3
old value: $00b4  new value: $00c6
old value: $00b5  new value: $00c7
old value: $00b6  new value: $00ca
old value: $00b7  new value: $00cb
old value: $00b8  new value: $00cc
old value: $00b9  new value: $00cd
old value: $00ba  new value: $00ce
old value: $00bb  new value: $00cf
old value: $00bc  new value: $00d0
old value: $00bd  new value: $00d1
old value: $00be  new value: $00d2
old value: $00bf  new value: $00d3
old value: $00a4  new value: $10d0
old value: $00a4  new value: $10d0
--- Unresolved Symbol List
pfwidth                  0000 ????         (R )
FASTFETCH                0000 ????         (R )
 
      3623 bytes of ROM space left in bank 1
      2292 bytes of ROM space left in bank 2
 
 
Fatal assembly error: Source is not resolvable.
Errors were encountered during assembly.
2600 Basic compilation completed.
Compilation completed at 10/13/2014 1:00:09 AM
view output file:///K:/vbB/projects/Grinch/bin
Post compilation files deleted

I'm attempting compilation through VisualBB. I'm using batariBasic 1.01dreveng36 and DASM 2.20.11 unofficial 20140202a

 

It DOES create a .bin, but it's malformed and doesn't actually work.

Attached File  ASM_and_lists.zip   52.34KB   250 downloads

Attached File  test_pfcolors_with_pfheights_SC.bas.bin   264bytes   69 downloads

Also, will this work with a higher pfres?

 

EDIT: I fixed the problem simply enough by just adding const pfwidth = 4, as per this post.

 

However, pfres doesn't seem to work; I just get a flickering mess. However, that includes if I just define set kernel_options player1colors playercolors pfcolors pfheights normally, without using this minikernel. That somehow seems wrong to me, though. What am I overlooking here?

Attached File  test.bas   1.19KB   66 downloads

Attached File  test.bas.bin   16KB   71 downloads


Edited by Cybearg, Mon Oct 13, 2014 12:45 AM.


#32 abaudrand OFFLINE  

abaudrand

    Chopper Commander

  • 236 posts

Posted Fri Jul 3, 2015 1:24 PM

I would like to share a modified version of the superchipheader_SC  RevEng made for me so that I can keep using this modified kernel and being able to work on a 64Ko project.
All thanks go to him.

Attached Files






0 user(s) are browsing this forum

0 members, 0 guests, 0 anonymous users