Jump to content
IGNORED

Intellvision Music


Der Luchs

Recommended Posts

By the way, should I post the ROMS of the Songs as I did before

or is a MP3 enough?

If you are going to post ROMs you might want to change the title page so that it has your AA name and a song title on (maybe a date too). Then when its found randomly on the internet people know who did it.

Link to comment
Share on other sites

I thought the INTV can only make beeps :D

 

LOL! Technically, they are square waves; but yes, beeps. I meant that you can play around with pitch and amplitude effects and the envelopes, which will shape the sound and make it more musical. Then they'll be beeps with class. :)

 

-dZ.

Link to comment
Share on other sites

It's strange that binary file... I dumped the CPU history of the debugger at the point it crashed in jzIntv, and I see something very strange: the EXEC is executed, and at the top it pushes an address into the stack. However, when the initialization completes, it pops out NULL from the stack into the instruction pointer, sending the CPU into the weeds.

 

And this works in Bliss? I wonder what code causes this. Perhaps a malformed UDB header...

 

-dZ.

Link to comment
Share on other sites

It works fine in Bliss...

Did someone has the same Problem?

That's the thing, I don't use Bliss, I use jzIntv which has a debugger for programmers, and is supposed to be more accurate in simulating the real hardware.

 

I disassembled the ROM and everything looks fine. It crashes during the EXEC initialization (which is the built-in operating system of the Intellivision).

Link to comment
Share on other sites

Any plans to include support for playing back Der Luchs music in P-Machinery? May as well standardize on whatever you guys figure out works :)

 

It is already supported. He is using Arnauld's tracker, which works great with P-Machinery (as Valter showed when he quickly added music to his Colossal Cave). However, he is not using P-Machinery.

 

-dZ.

Link to comment
Share on other sites

Der Luchs, in your trkdemo.asm file (or equivalent), do you have lines of code that look like this:

TRKSCRACTH  ORG         $01DC, $01DC, "-RWBN"
TRKSYSTEM   ORG         $035B, $035B, "-RWBN"

whitespace
Or do they look like this?
whitespace

TRKSCRACTH  ORG         $01DC
TRKSYSTEM   ORG         $035B

whitespace
If the latter, that's very likely to be the cause of the crash. See here for an explanation.

Link to comment
Share on other sites

Der Luchs, in your trkdemo.asm file (or equivalent), do you have lines of code that look like this:

TRKSCRACTH  ORG         $01DC, $01DC, "-RWBN"
TRKSYSTEM   ORG         $035B, $035B, "-RWBN"
Or do they look like this?

 

TRKSCRACTH  ORG         $01DC
TRKSYSTEM   ORG         $035B
If the latter, that's very likely to be the cause of the crash. See here for an explanation.

 

Aha! That's probably it. I still don't see why the last address pushed into the stack is popped as NULL:

 

 
0000 0000 0000 0000 0000 1003 0000 1026 --------  MVII #$02F1,R6           13
0000 0000 0000 0000 0000 1003 02F1 1028 ------i-  JSR  R5,$1A83            22
0000 0000 0000 0000 0000 102B 02F1 1A83 ------i-  PSHR R5                  35
0000 0000 0000 0000 0000 102B 02F2 1A84 --------  PSHR R0                  44
0000 0000 0000 0000 0000 102B 02F3 1A85 --------  PSHR R1                  53
0000 0000 0000 0000 0000 102B 02F4 1A86 --------  MVII #$01F0,R4           62
0000 0000 0000 0000 01F0 102B 02F4 1A88 ------iq  MVII #$000E,R0           70
000E 0000 0000 0000 01F0 102B 02F4 1A8A ------iq  JSR  R5,$1738            78
000E 0000 0000 0000 01F0 1A8D 02F4 1738 ------iq  PSHR R5                  91  ; <--- Follow this address...
000E 0000 0000 0000 01F0 1A8D 02F5 1739 -------q  CLRR R5                 100
000E 0000 0000 0000 01F0 0000 02F5 173A ---Z--iq  PSHR R0                 106
000E 0000 0000 0000 01F0 0000 02F6 173B ---Z---q  MVO@ R5,R4              115
000E 0000 0000 0000 01F1 0000 02F6 173C ---Z---q  DECR R0                 124
000D 0000 0000 0000 01F1 0000 02F6 173D ------iq  BNEQ $173B              130
000D 0000 0000 0000 01F1 0000 02F6 173B ------iq  MVO@ R5,R4              139
000D 0000 0000 0000 01F2 0000 02F6 173C -------q  DECR R0                 148
000C 0000 0000 0000 01F2 0000 02F6 173D ------iq  BNEQ $173B              154
000C 0000 0000 0000 01F2 0000 02F6 173B ------iq  MVO@ R5,R4              163
000C 0000 0000 0000 01F3 0000 02F6 173C -------q  DECR R0                 172
000B 0000 0000 0000 01F3 0000 02F6 173D ------iq  BNEQ $173B              178
000B 0000 0000 0000 01F3 0000 02F6 173B ------iq  MVO@ R5,R4              187
000B 0000 0000 0000 01F4 0000 02F6 173C -------q  DECR R0                 196
000A 0000 0000 0000 01F4 0000 02F6 173D ------iq  BNEQ $173B              202
000A 0000 0000 0000 01F4 0000 02F6 173B ------iq  MVO@ R5,R4              211
000A 0000 0000 0000 01F5 0000 02F6 173C -------q  DECR R0                 220
0009 0000 0000 0000 01F5 0000 02F6 173D ------iq  BNEQ $173B              226
0009 0000 0000 0000 01F5 0000 02F6 173B ------iq  MVO@ R5,R4              235
0009 0000 0000 0000 01F6 0000 02F6 173C -------q  DECR R0                 244
0008 0000 0000 0000 01F6 0000 02F6 173D ------iq  BNEQ $173B              250
0008 0000 0000 0000 01F6 0000 02F6 173B ------iq  MVO@ R5,R4              259
0008 0000 0000 0000 01F7 0000 02F6 173C -------q  DECR R0                 268
0007 0000 0000 0000 01F7 0000 02F6 173D ------iq  BNEQ $173B              274
0007 0000 0000 0000 01F7 0000 02F6 173B ------iq  MVO@ R5,R4              283
0007 0000 0000 0000 01F8 0000 02F6 173C -------q  DECR R0                 292
0006 0000 0000 0000 01F8 0000 02F6 173D ------iq  BNEQ $173B              298
0006 0000 0000 0000 01F8 0000 02F6 173B ------iq  MVO@ R5,R4              307
0006 0000 0000 0000 01F9 0000 02F6 173C -------q  DECR R0                 316
0005 0000 0000 0000 01F9 0000 02F6 173D ------iq  BNEQ $173B              322
0005 0000 0000 0000 01F9 0000 02F6 173B ------iq  MVO@ R5,R4              331
0005 0000 0000 0000 01FA 0000 02F6 173C -------q  DECR R0                 340
0004 0000 0000 0000 01FA 0000 02F6 173D ------iq  BNEQ $173B              346
0004 0000 0000 0000 01FA 0000 02F6 173B ------iq  MVO@ R5,R4              355
0004 0000 0000 0000 01FB 0000 02F6 173C -------q  DECR R0                 364
0003 0000 0000 0000 01FB 0000 02F6 173D ------iq  BNEQ $173B              370
0003 0000 0000 0000 01FB 0000 02F6 173B ------iq  MVO@ R5,R4              379
0003 0000 0000 0000 01FC 0000 02F6 173C -------q  DECR R0                 388
0002 0000 0000 0000 01FC 0000 02F6 173D ------iq  BNEQ $173B              394
0002 0000 0000 0000 01FC 0000 02F6 173B ------iq  MVO@ R5,R4              403
0002 0000 0000 0000 01FD 0000 02F6 173C -------q  DECR R0                 412
0001 0000 0000 0000 01FD 0000 02F6 173D ------iq  BNEQ $173B              418
0001 0000 0000 0000 01FD 0000 02F6 173B ------iq  MVO@ R5,R4              427
0001 0000 0000 0000 01FE 0000 02F6 173C -------q  DECR R0                 436
0000 0000 0000 0000 01FE 0000 02F6 173D ---Z--iq  BNEQ $173B              442
0000 0000 0000 0000 01FE 0000 02F6 173F ---Z--iq  PULR R0                 449
0000 0000 0000 0000 01FE 0000 02F5 1740 ---Z--iq  PULR R7                 461  ; <--- Where did it go??
0000 0000 0000 0000 01FE 0000 02F4 0000 ---Z--iq  XORI #$3FFF,R7          473  ; <---- BOOM!
Link to comment
Share on other sites

I'm pretty sure what happened was that the .zip file I put up didn't have the fix that Joe Z./intvnut worked out. My intention was to supply the original files as I downloaded/copied them from Intelliwiki (is that still up?), but that correction's an important one. Changing those lines of code should fix everything.

Link to comment
Share on other sites

 

Aha! That's probably it. I still don't see why the last address pushed into the stack is popped as NULL:

 

 
0000 0000 0000 0000 0000 1003 0000 1026 --------  MVII #$02F1,R6           13
0000 0000 0000 0000 0000 1003 02F1 1028 ------i-  JSR  R5,$1A83            22
0000 0000 0000 0000 0000 102B 02F1 1A83 ------i-  PSHR R5                  35
0000 0000 0000 0000 0000 102B 02F2 1A84 --------  PSHR R0                  44
0000 0000 0000 0000 0000 102B 02F3 1A85 --------  PSHR R1                  53
0000 0000 0000 0000 0000 102B 02F4 1A86 --------  MVII #$01F0,R4           62
0000 0000 0000 0000 01F0 102B 02F4 1A88 ------iq  MVII #$000E,R0           70
000E 0000 0000 0000 01F0 102B 02F4 1A8A ------iq  JSR  R5,$1738            78
000E 0000 0000 0000 01F0 1A8D 02F4 1738 ------iq  PSHR R5                  91  ; <--- Follow this address...
000E 0000 0000 0000 01F0 1A8D 02F5 1739 -------q  CLRR R5                 100
000E 0000 0000 0000 01F0 0000 02F5 173A ---Z--iq  PSHR R0                 106
000E 0000 0000 0000 01F0 0000 02F6 173B ---Z---q  MVO@ R5,R4              115
000E 0000 0000 0000 01F1 0000 02F6 173C ---Z---q  DECR R0                 124
000D 0000 0000 0000 01F1 0000 02F6 173D ------iq  BNEQ $173B              130
000D 0000 0000 0000 01F1 0000 02F6 173B ------iq  MVO@ R5,R4              139
000D 0000 0000 0000 01F2 0000 02F6 173C -------q  DECR R0                 148
000C 0000 0000 0000 01F2 0000 02F6 173D ------iq  BNEQ $173B              154
000C 0000 0000 0000 01F2 0000 02F6 173B ------iq  MVO@ R5,R4              163
000C 0000 0000 0000 01F3 0000 02F6 173C -------q  DECR R0                 172
000B 0000 0000 0000 01F3 0000 02F6 173D ------iq  BNEQ $173B              178
000B 0000 0000 0000 01F3 0000 02F6 173B ------iq  MVO@ R5,R4              187
000B 0000 0000 0000 01F4 0000 02F6 173C -------q  DECR R0                 196
000A 0000 0000 0000 01F4 0000 02F6 173D ------iq  BNEQ $173B              202
000A 0000 0000 0000 01F4 0000 02F6 173B ------iq  MVO@ R5,R4              211
000A 0000 0000 0000 01F5 0000 02F6 173C -------q  DECR R0                 220
0009 0000 0000 0000 01F5 0000 02F6 173D ------iq  BNEQ $173B              226
0009 0000 0000 0000 01F5 0000 02F6 173B ------iq  MVO@ R5,R4              235
0009 0000 0000 0000 01F6 0000 02F6 173C -------q  DECR R0                 244
0008 0000 0000 0000 01F6 0000 02F6 173D ------iq  BNEQ $173B              250
0008 0000 0000 0000 01F6 0000 02F6 173B ------iq  MVO@ R5,R4              259
0008 0000 0000 0000 01F7 0000 02F6 173C -------q  DECR R0                 268
0007 0000 0000 0000 01F7 0000 02F6 173D ------iq  BNEQ $173B              274
0007 0000 0000 0000 01F7 0000 02F6 173B ------iq  MVO@ R5,R4              283
0007 0000 0000 0000 01F8 0000 02F6 173C -------q  DECR R0                 292
0006 0000 0000 0000 01F8 0000 02F6 173D ------iq  BNEQ $173B              298
0006 0000 0000 0000 01F8 0000 02F6 173B ------iq  MVO@ R5,R4              307
0006 0000 0000 0000 01F9 0000 02F6 173C -------q  DECR R0                 316
0005 0000 0000 0000 01F9 0000 02F6 173D ------iq  BNEQ $173B              322
0005 0000 0000 0000 01F9 0000 02F6 173B ------iq  MVO@ R5,R4              331
0005 0000 0000 0000 01FA 0000 02F6 173C -------q  DECR R0                 340
0004 0000 0000 0000 01FA 0000 02F6 173D ------iq  BNEQ $173B              346
0004 0000 0000 0000 01FA 0000 02F6 173B ------iq  MVO@ R5,R4              355
0004 0000 0000 0000 01FB 0000 02F6 173C -------q  DECR R0                 364
0003 0000 0000 0000 01FB 0000 02F6 173D ------iq  BNEQ $173B              370
0003 0000 0000 0000 01FB 0000 02F6 173B ------iq  MVO@ R5,R4              379
0003 0000 0000 0000 01FC 0000 02F6 173C -------q  DECR R0                 388
0002 0000 0000 0000 01FC 0000 02F6 173D ------iq  BNEQ $173B              394
0002 0000 0000 0000 01FC 0000 02F6 173B ------iq  MVO@ R5,R4              403
0002 0000 0000 0000 01FD 0000 02F6 173C -------q  DECR R0                 412
0001 0000 0000 0000 01FD 0000 02F6 173D ------iq  BNEQ $173B              418
0001 0000 0000 0000 01FD 0000 02F6 173B ------iq  MVO@ R5,R4              427
0001 0000 0000 0000 01FE 0000 02F6 173C -------q  DECR R0                 436
0000 0000 0000 0000 01FE 0000 02F6 173D ---Z--iq  BNEQ $173B              442
0000 0000 0000 0000 01FE 0000 02F6 173F ---Z--iq  PULR R0                 449
0000 0000 0000 0000 01FE 0000 02F5 1740 ---Z--iq  PULR R7                 461  ; <--- Where did it go??
0000 0000 0000 0000 01FE 0000 02F4 0000 ---Z--iq  XORI #$3FFF,R7          473  ; <---- BOOM!

When I run jzintv, the memory map output to the terminal program looks like this:

Loading:
  ./../rom/H2H.rom
jzintv:  Initializing Master Component and peripherals...
ay8910:  Automatic sliding-window setting: 10
ivoice:  Automatic sliding-window setting: 12
CP-1610          [0x0000...0x0000]
PSG0 AY8914      [0x01F0...0x01FF]
Int. Voice       [0x0080...0x0081]
[Graphics]       [0x0000...0x0000]
[Sound]          [0x0000...0x0000]
Scratch RAM      [0x0100...0x01EF]
System RAM       [0x0200...0x035F]
EXEC ROM         [0x1000...0x1FFF]
Pad Pair 0       [0x01F0...0x01FF]
STIC             [0x0000...0x007F]
STIC             [0x4000...0x403F]
STIC             [0x8000...0x803F]
STIC             [0xC000...0xC03F]
STIC (BTAB)      [0x0200...0x02EF]
STIC (GRAM)      [0x3000...0x3FFF]
[Event]          [0x0000...0x0000]
[Rate Ctrl]      [0x0000...0x0000]
ICart   [R   ]   [0x0100...0x03FF]
ICart   [R   ]   [0x5000...0x54FF]
CP-1610 Snoop    [0x0200...0x035F]
Starting jzIntv...
HALT! PC=0001 Instr =         56 MS =         62

So, there is something called "ICart" (Intellicart?) which is mapped to the same address range as the system memory.

Maybe this is the problem.

Link to comment
Share on other sites

^Yep, that's pretty much what Joe Z. said in the link I posted: "The RMB directives are allocating a read-only space on top of the Intellivision's own memory, and that's crashing things...[The fix] tells the assembler to not map these areas into the memory map in the Intellicart ROM image."

Link to comment
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...