Search found 19 matches

by jwhitmore
Sun Apr 18, 2021 4:50 am
Forum: FV-1 software questions
Topic: RMPA Instruction - confusion?
Replies: 8
Views: 11079

Re: RMPA Instruction - confusion?

delay_r is the base address of your delay memory. This is a circular buffer that rolls at each sample cycle. so if you write ADC to delay_r, and read from delay_r+4000, you get a delay of 4000. If you multiply by the pot value(from 0 to 1), you get a variable delay time, from 0 to 4000 I get the ci...
by jwhitmore
Thu Apr 08, 2021 2:58 pm
Forum: FV-1 software questions
Topic: RMPA Instruction - confusion?
Replies: 8
Views: 11079

Re: RMPA Instruction - confusion?

The previous answer got me moving, but after some looking I could not find the answer to a couple of questions on the code given. So given the code: clr ; clear acc or delay_r*256 ; put base address of delay in acc shifted to align bits for addressing wrax reg0,0 ; save it or $4000*256 ; length of d...
by jwhitmore
Tue Mar 16, 2021 2:00 pm
Forum: FV-1 software questions
Topic: RMPA Instruction - confusion?
Replies: 8
Views: 11079

Re: RMPA Instruction - confusion?

Thanks a million Frank, That's so helpful, the 'or' instruction, I was looking over the instruction set trying to figure out how to load an immediate value into the Accumulator. Never occurred to me to use an or.

Thanks for all your help, think I'm up and running.
John
by jwhitmore
Mon Mar 15, 2021 12:49 pm
Forum: FV-1 software questions
Topic: RMPA Instruction - confusion?
Replies: 8
Views: 11079

Re: RMPA Instruction - confusion?

Thanks Frank but sorry I'm still struggling with it. I get the indirect addressing mode, I've no problem with that, and the offset stored in the ADDR_PTR register. If we had somehow stored an offset of 0x100 in the ADDR_PTR register that's the required offset, What I'm struggling with is how the cod...
by jwhitmore
Sat Mar 13, 2021 12:03 pm
Forum: FV-1 software questions
Topic: RMPA Instruction - confusion?
Replies: 8
Views: 11079

RMPA Instruction - confusion?

There's not a lot to the 'rmpa' instruction. As the SPINAsmUsersManual.pdf states: "RMPA will fetch the indirectly addressed sample from the delay ram, multiply it by C and add the result to the previous content of ACC" There's even an example code segment in the manual: ; Crude variable d...
by jwhitmore
Wed Mar 10, 2021 1:13 pm
Forum: FV-1 software questions
Topic: Simple volume, scaling and multiplication?
Replies: 2
Views: 6032

Re: Simple volume, scaling and multiplication?

Frank thanks a million for your response, you got me thinking. I was assuming that my problems were a simple software issue and in one case that turned out to be the case, but your pointing the finger a Hardware got me thinking. I dug out an old dual boot laptop with an old windows partition and the...
by jwhitmore
Mon Mar 08, 2021 12:05 pm
Forum: FV-1 software questions
Topic: Simple volume, scaling and multiplication?
Replies: 2
Views: 6032

Simple volume, scaling and multiplication?

I'm only starting out with DSP so a lot of my questions have been very basic in nature, this one is no different. I have two problems which are both linked to volume, but both come back to changing or scaling that volume. My first problem is that my guitar running through the FV-1 and a simple progr...
by jwhitmore
Sat Nov 14, 2020 12:08 pm
Forum: FV-1 software questions
Topic: Linux just the Assembler?
Replies: 5
Views: 8140

Re: Linux just the Assembler?

How embarrassing, totally misread what the problem was.

Thanks a million for taking the time to point that out Frank.
by jwhitmore
Sat Nov 14, 2020 6:19 am
Forum: FV-1 software questions
Topic: Linux just the Assembler?
Replies: 5
Views: 8140

Re: Linux just the Assembler?

I hope user 'potul' is checking in now and again. I've been working on Hardware, so only now getting back to testing the python assembler. It installed without issue and kinda works, but doesn't like my assembley code. Specifically it doesn't like my first line: radx ADCL, 1.0 which results in: pars...
by jwhitmore
Fri Sep 11, 2020 1:31 pm
Forum: FV-1 software questions
Topic: EEPROM Memory layout?
Replies: 3
Views: 7262

Re: EEPROM Memory layout?

Ahhhhh Thanks a million for that. So when I saw what looked like reading twice the normal length of data was in fact two reads, the first which I was looking at the address for, in a trace, and the second for the correct address after the switch pins had all settled down. If I make a PCB I might deb...
by jwhitmore
Fri Sep 11, 2020 11:27 am
Forum: FV-1 software questions
Topic: EEPROM Memory layout?
Replies: 3
Views: 7262

Re: EEPROM Memory layout?

Sorry the formatting of my table got messed up. I just had the brain wave of checking the actual Datasheet for the FV-1. I've been through it a while back and couldn't remember anything specific about the EEPROM but thought I'd best check, in case I totally missed a description. Can't find anything ...
by jwhitmore
Fri Sep 11, 2020 10:42 am
Forum: FV-1 software questions
Topic: EEPROM Memory layout?
Replies: 3
Views: 7262

EEPROM Memory layout?

I'm looking at the layout of the code in the EEPROM, as I was hoping to use the Python Assembler and just program my binary into an EEPROM without using the DEV board and Windows. To answer the question how to write a binary file to EEPROM I hooked up a logic probe to the I2C Interface between the F...
by jwhitmore
Mon Sep 07, 2020 5:28 am
Forum: FV-1 software questions
Topic: Linux just the Assembler?
Replies: 5
Views: 8140

Re: Linux just the Assembler?

Thanks a million potul, that's exactly what I was looking for and undoubtedly better then what I would have implemented ;) Thanks again that will make my Linux/Spin life easier ;)
by jwhitmore
Sat Sep 05, 2020 1:41 am
Forum: FV-1 software questions
Topic: Linux just the Assembler?
Replies: 5
Views: 8140

Linux just the Assembler?

I previously asked about running the IDE on Linux, but this time I'm just interested in the Assembler... I've struggled with getting the IDE working on Linux, attempting both Wine and a Virtual Machine. I'd no joy so I had to resort to using an old laptop which I still had a windows partition on, so...
by jwhitmore
Tue Aug 11, 2020 1:56 am
Forum: FV-1 software questions
Topic: Implement Adjustable Crossover?
Replies: 2
Views: 6414

Re: Implement Adjustable Crossover?

Thank you for that. I'll try this out, but as always there are too many projects.