| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
Obviously, iotio_sel will be zero for OUT 7.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
|
| |
|
|
|
|
|
|
|
|
| |
Avoid latching video_width. Also track sw[9] and allow it to set the
video_width at runtime by flipping the switch (it may or may not
change the width based on previous state.)
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
|
|
|
|
|
|
| |
OUT 7 is functionally part of intio; treat it as such
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
|
|
|
|
|
|
|
|
|
|
| |
Further improve SRAM timing by using the flipflops in the I/O cells
for input, too.
Change the default fgpage to 5 so it doesn't conflict with the default
location for the 80-character BASIC in RAM.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
|
|
|
|
|
|
|
| |
If the working tree doesn't match git, add a suffix.
-dirty seems unnecessarily offensive, so use (mod)
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
|
| |
|
|
|
|
|
|
|
|
| |
Create a revision ID ROM readable from ABC (via I/O ports 136 and 137)
so we have a hope of not getting ourselves confused about which
revision of ABC80-DE1 we are currently running.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
|
|
|
|
|
|
| |
The 200 MHz SRAM seems to finally work.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
|
|
|
|
|
|
|
| |
To do that, we have to remove the read/write mmu map select, however.
While we're at it, drop the ugly "basic patch" hack and instead have
separate memory maps for 48 and 80 col.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
Apparently generate if statements with declarations in both branches
can make Quartus II think that the register is unused (duplicate?)
Thus drop it and (suboptimally) always disable design rule D104. It
would still be possible to fix this by duplicating the synchronizer
code, but that's for later.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
|
|
|
|
|
|
| |
Now when we have a generic stabilizer, use it to stabilize fgctl_q.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
|
|
|
|
|
|
|
|
| |
No need to have a filter that will only used for a synchronizer at the
top level, now when synchronizer should only be used from the
synchronize wrapper module.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
|
|
|
|
|
|
|
| |
Add appropriate modules for both synchronizer and stabilizer, with the
appropriate attribute magic for both.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
|
|
|
|
|
|
|
| |
Implement the new SRAM state machine, complete with dual access per
cpu_clk cycle.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
|
|
|
|
|
|
| |
Change the name to fgpixel now when we only have one.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
|
|
|
|
|
|
| |
Allow amber monitor, don't invert output in test pattern.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Infrastructure for changing the SRAM timing to add another shared
device (intended to be the Neopixel driver.) This means upping the
SRAM state machine clock to 200 MHz; move video_clk to pll2 to be able
to generate that output. It actually gets closer to proper VGA
timing, but at the expense of needing a synchronizing FIFO for the fg
unit.
This also clears a lot of timing warnings.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
|
|
|
|
|
|
|
| |
Fix an expression that turns into a latch; the FPGA has flipflops, not
latches.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
|
|
|
|
|
| |
It is sometimes useful to be able to control the GPIO header pins as,
well, GPIOs. Make it so. No interrupt support or anything like that.
|
| |
|
|
|
|
|
|
| |
For some reason this file was still in Latin-1.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
|
|
|
|
|
|
| |
Add a completely invented color block graphics unit; it should
hopefully be fun for kids to play with using the equivalent method
to using characters for groups of normal block pixels.
|
|\ |
|
| |
| |
| |
| | |
Make it possible to find a symbolic entry point in the .def file.
|
| |
| |
| |
| | |
Now it will actually load and process relocations.
|
|/
|
|
|
|
|
|
|
|
|
|
|
| |
Make it possible to make the display green or yellow (should really be
amber).
Switches changed:
SW[4] - suppress red (used for green)
SW[3] - suppress blue (used for green or amber)
SW[2] - V.24 instead of printer for serial port
Add a new file to list the current LED/key/switch assignments.
|
|
|
|
|
|
|
|
|
|
| |
Change the bin2bac code to process a relocation file generated by
z80asm from z88dk version 1.99 or later. At the same time, simplify
the loader code substantially by removing the recursive dependency
between header length and loader length - it doesn't actually buy
us anything, because it is just as easy to fetch the line length
from the byte at BOFA (true as long as the BASIC prefix is only one
line, but it can be more than one statement if necessary.)
|
|
|
|
|
|
| |
The BASIC interpreter sends 0x00 (clear) and 0x83 (beep) in very short
order. We have to clear the oneshot immediately, not on the next
strobe.
|
|
|
|
|
| |
Routine for copying RAM to ROM. Works on real hardware with
Mikrodatorn's 64K expansion as well as FPGA.
|
|
|
|
|
|
| |
Simplify the code by computing $bldlen in a common loop.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
|
|
|
|
|
|
|
| |
Add I/O ports to control the red LEDs from the CPU instead of simply
reflecting the switches.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
|
|
|
|
|
|
|
| |
Add a version of the loader which supports relocatable code to be
loaded at BOFA.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
|
|
|
|
|
|
|
| |
The execute map never worked right (immediate fetching is NOT
done in the M1 cycle) so just drop it.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
|
|
|
|
|
|
| |
Convert the CHANGES file to UTF-8.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
|
|
|
|
|
|
| |
The -d option is directory, -c is console.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
|
|
|
|
|
|
| |
Updates since DE1-18.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
|
|
|
|
|
|
|
| |
Add a new PRC: device (C = console) to print to the abcprintd
debug console.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
|
|
|
|
| |
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
|
|
|
|
|
|
| |
stripzero.pl is used to clean up the tail of cbios.bin.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
|
|
|
|
| |
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
|
| |
|
|
|
|
|
|
| |
Code was correct, but fix the comment.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
|
|
|
|
|
|
| |
Add missing paren to comment.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
|
|
|
|
|
|
|
| |
Not just the base address but also the entrypoint should be converted
if necessary.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
|
|
|
|
|
|
|
|
|
| |
Instead of storing a new address for each statement, just encode it
once in the loader. This gets the overhead down a fair bit.
Also, simplify some of the generated bytecode.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
|
|
|
|
|
| |
A fairly compact way to store an assembly program, comparable in
overhead to an .ABS file.
|
|
|
|
|
|
| |
BDOS gets really unhappy about a shared DPH
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
|
| |
|