Questions tagged [atari-2600]
18 questions
4
votes
1 answer
Trouble Rendering ATARI-2600 Sprite When Negative HMP0 Values Are Applied
ATARI-2600 question anyone?
When a byte is stored in the TIA HMP0 register, a fine position adjustment is applied to the coarse beam position. The Stella manual says the value can be anywhere from -8 to 7. Where -8 is (1000 binary) and 7 is (0111…

Quinn Carver
- 587
- 7
- 14
4
votes
2 answers
Efficient multiple indirection in 6502 code
Issue
I'm looking at a 6502 program that has multiple arrays of bytes (sound effect data corresponding to a particular voice), which are of varying lengths. Currently this involves explicitly iterating through the first (if queued), then the second…

msbit
- 4,152
- 2
- 9
- 22
3
votes
3 answers
How to check out actions available in OpenAI gym environment?
It seems like the list of actions for Open AI Gym environments are not available to check out even in the documentation. For example, let's say you want to play Atari Breakout. The available actions will be right, left, up, and…

Ji Hwan Park
- 71
- 2
- 6
3
votes
1 answer
I want my player to move while the button is pressed
So when i do movement only at one side, it works but once i finish them all, it doesn't work. I tried to switch the numbers, commands, but it was useless. I'm a begginer and my skills are not too good for this because I was using tutorials before. i…

voltifer
- 21
- 1
- 11
2
votes
0 answers
Done status based on action in OpenAI Atari
I am attempting to create a neural network to play the emulated atari game "BreakoutDeterministic". The action space for the game is [0,1,2,3].
When inputting
frame, reward, is_done, _ = env.step(env.action_space.sample())
The game will play out…

niallmandal
- 249
- 4
- 11
1
vote
0 answers
Get RGB frames of gym environment with wrappers
I'm working with gym environment and stable-baseline3 library. I have wrapped the environment as follows,
env = AtariWrapper(gym.make(args.env), noop_max=30, frame_skip=4, screen_size=84, terminal_on_life_loss=True, clip_reward=False)
env =…

user19826638
- 31
- 1
- 4
1
vote
1 answer
Getting a random array position in batari basic (atari 2600)
I need to random a new specific position for the player each N cycles of game loop. So my idea was use a ROM array (data) and a rand function using (&) operator for fast processing following the random terrain documentation : …

Eduardo Fabricio
- 2,151
- 2
- 25
- 32
1
vote
1 answer
Resize a state of a gym environment composed by 4 frames (atari environment)
I'm developing an Autonomous Agent based on DQN. I am using the gym library to make the environments that I want to test, but I'm stuck in processing the frames of the state. The state that the gym environment returns, using the FrameStack wrapper,…

Luca Varini
- 21
- 5
1
vote
1 answer
Does it matter how you fill the end of ROM in Atari 2600 code?
Excuse my probably mistake-full question. Im learning to make games for Atari 2600 for fun.
So this is my code:
; Welcome
processor 6502
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; include your macros…

Alireza Amani
- 179
- 1
- 4
- 12
1
vote
0 answers
Q values overshoot in Double Deep Q Learning
I am trying to teach the agent to play ATARI Space Invaders video game, but my Q values overshoot.
I have clipped positive rewards to 1 (agent also receives -1 for losing a life), so the maximum expected return should be around 36 (maybe I am wrong…

Heisenberg666
- 38
- 6
1
vote
1 answer
How to run and render gym Atari environments in real time, instead of sped up?
Currently when I render any Atari environments they are always sped up, and I want to look at them in normal speed. I am using Gym Atari with Tensorflow, and Keras-rl on Windows. The language is python.

PancakeFactory
- 19
- 5
1
vote
1 answer
Four-way Gravitational Engine Issues (Atari 2600)
In the last couple months I've been working on a project using "Fake Gravity Platformer Test with Shooting" (from here: http://atariage.com/forums/topic/179473-fake-gravity-platformer-test/)
as a template.
The goal of my project is to create a…

Angel Sachse
- 129
- 3
0
votes
0 answers
How to understand what Bank Switching does and how it works
I have been trying to learn about how games were made on the old Atari-2600 when the maximum it could address was 8KB and it only had around 127 bytes of memory. I heard that games on the Atari used a technique called Bank Switching, which allows…

Roger Mariña
- 43
- 3
0
votes
0 answers
No registered env with id: PongNoFrameskip-v4
I'm using Stable Baselines3 for my project. I'm a newbie and haven't used Stable Baselines3 before. But unfortunately, I'm not able to continue due to the following error,
No registered env with id: PongNoFrameskip-v4
I installed Stable Baselines3…

user19826638
- 31
- 1
- 4
0
votes
0 answers
Build AI model using Gym
I am trying to learn how to build an AI model with a ROM game. The issue is that the environment doesn't start. I get no errors with the code below but also I get no game-playing :-)
Here is what I have done
I have imported the rom using the…

amok
- 1,736
- 4
- 20
- 41