Closed

6809 assembler optimization no me copien ok

You have to write an optimized 6809 assembler function to draw vector lines on a Vectrex game console. Attached is the full project. You can open and run it with the Vide IDE:

[login to view URL]

When opening the project in Vide, you can start it with the play button in the Vedi toolbar. Then you can click in the vecxi window, and press "a" to start the game (the buttons 1, 2, 3, 4 are a, s, d, f). Then you can open the "tracki" window and click "reset". This will show you the number of cycles the whole game loop needs.

As a test if you are qualified to do this task, tell me the "avg" number you see. If the number is wrong or if you don't tell me the number, your offer will be ignored.

You have to write an optimized version of the "drawField" function in the bloxorz.c file. Most likely it needs to be in assembly and it needs to use the VIA registers directly instead of calling the Bios functions. If you add a "return" at the beginning of the function, you can see in the tracki window that it needs 11799 cycles (difference between the game loop with and without the function). Your task is to increase the speed to at least less than 5000 cycles, for the first level, and the function has to work for the other 2 levels as well (but then it can be slower).

The higher speed should be possible, because if you comment out the showInfo function, you can see that this function needs 3589 cycles, and it draws about 80 lines, while the drawField function draws much fewer lines.

Some helpful resources:

- Vectrex Bios ROM listing: [login to view URL]

- Vectrex Programmers Manual: [login to view URL] [login to view URL]

Skills: Assembly, C Programming, Programming

See more: work from home using your computer, work from home on your computer, how to work from home on your computer, 6809 single board computer, 6809 emulator for windows, motorola 6800 programming manual, gcc 6809, 6809 disassembler, 6809 cross assembler, 6809 assembler windows, 6809 c compiler, c programming, cold calling work from home, cold calling work final expense life insurance, cold calling work accent, porntube v2 work, freelance work cold calling, calling tibco business work, b2b cold calling work home, page optimization work

About the Employer:
( 0 reviews ) Dominican Republic

Project ID: #16104383

4 freelancers are bidding on average $116 for this job

dslc

Hi. The average number of cycles is 17553. (You forgot to attach the source code but I found the Bloxorz demo after downloading the IDE.) As you are probably already aware, the increased cycle count is caused by the de More

$60 USD in 5 days
(1 Review)
3.3
shentiakov

Hi, you need Motorola 6809 asm optimization of a video game for the old vector graphics game console. The average number that I can see on my PC in the emulator is about 19300 - check the screenshot. Relevant Skills a More

$200 USD in 3 days
(1 Review)
1.0
$155 USD in 3 days
(0 Reviews)
0.0
sayanprogrammer2

Hi I'm RICH P. I've reviewed your complete job description. I have more than 12 years of experience in this field. If you will respond me then I will be able to explain my skills Relevant Skills and Experience As More

$50 USD in 3 days
(0 Reviews)
0.0