Jump to content
SeaGtGruff

pfcolors and pfheights together-- in RAM!

Recommended Posts

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

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

 

Michael

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

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.

ASM_and_lists.zip

test_pfcolors_with_pfheights_SC.bas.bin

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?

test.bas

test.bas.bin

Edited by Cybearg

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...