Skip to content

chesterbr/sorteio2600

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

=====================================================================
sorteio2600 - (c) 2011 Chester (Carlos Duarte do Nascimento) - README
=====================================================================

    +--------------------------------------------------------------------------+
    | Non-portuguese readers: see this simple Atari 2600 randomizer in action: |
    |                http://www.youtube.com/watch?v=B9VkouzVo3c                |
    +--------------------------------------------------------------------------+

O que é?
--------

Este programa para Atari 2600 sorteia um número 0 <= n < k, onde k é um múltiplo de
100, e foi desenvolvido para uso no Dev In Vale. Seu código é livre (vide abaixo).


Instruções
----------

Ao ligar o jogo (ou pressionar GAME SELECT), você verá o valor máximo do sorteio em
roxo (inicialmente 099). Pressione GAME SELECT para escolher outro máximo (199, 299...
até 999).

Ao pressionar GAME RESET, o sorteio começa - os dígitos ficam amarelos e rodando em
alta velocidade. Para efetivar o sorteio, pressione o botão do joystick 1, que irá 
diminuir a velocidade até que os dígitos parem no número sorteado (que ficará
multicolorido).

Para sortear outro número, pressione novamente GAME RESET. A qualquer momento você
pode mudar o limite pressionando GAME SELECT.


Arquivos
--------

sorteio2600.asm - programa principal (instruções para build nele)
sorteio2600.bin - ROM gerada para execução em emulador ou no Atari
gera_tabelas.py - gerador das tabelas de bits usadas no programa
tabelas.asm     - tabelas de bits (vide explicação no gerador)


Detalhes Técnicos
-----------------

http://chester.blog.br/archives/2011/11/sorteio2600.html


Informações Legais
------------------
 
 Copyright 2011 Carlos Duarte do Nascimento (Chester). All rights reserved.
 
 Redistribution and use in source and binary forms, with or without modification, are
 permitted provided that the following conditions are met:
 
    1. Redistributions of source code must retain the above copyright notice, this list of
       conditions and the following disclaimer.
 
    2. Redistributions in binary form must reproduce the above copyright notice, this list
       of conditions and the following disclaimer in the documentation and/or other materials
       provided with the distribution.
 
 THIS SOFTWARE IS PROVIDED BY CHESTER ''AS IS'' AND ANY EXPRESS OR IMPLIED
 WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
 FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL <COPYRIGHT HOLDER> OR
 CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
 CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
 SERVICES;  LOSS OF USE, DATA, OR PROFITS;  OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
 ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
 NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
 ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 
 The views and conclusions contained in the software and documentation are those of the
 authors and should not be interpreted as representing official policies, either expressed
 or implied, of Chester.

About

Programa para Atari 2600 que sorteia números aleatórios, feito para o Dev In Vale

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published