Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions docs/BUILDING.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,21 @@ Launch Quartus and open the project file *interfacez.qpf* . Perform a full "Comp
```
cd $INTERFACE_Z/fpga/r2.2
make
cp output_files/interfacez.rbf ../../esp32/fpga.bin
```

## Building the ZX Spectrum ROM

### Prerequisites

Pasmo

TODO

```
cd $INTERFACE_Z/rom/
make
cp intz.rom ../esp32/spiffs/intz.rom
```

## Building Angular Webapp
Expand Down
4 changes: 3 additions & 1 deletion webapp/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,10 @@ npm run mock-backend

### Run the Development Server

To start the auto reloading development server do:
To start the auto reloading development using the _mock backend_ server do:

```
ng serve -o
```

To run towards the _host mode only emulator_ use the option `--proxy=proxy-emulator.conf.json`.
2 changes: 1 addition & 1 deletion webapp/mock-backend/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ server.get('/foo', (req: Request, res: Response) => {
});
});

server.ws('/upload/fwupgrade', fwUpload);
server.ws('/ws/fwupgrade', fwUpload);

server.use(router);

Expand Down
1 change: 1 addition & 0 deletions webapp/mock-backend/src/fw-upload.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ export function fwUpload(ws: ws, req: Request) {
ws.on('message', (msg: any) => {
console.log(msg);
if (msg === 'START') {
ws.send('OK');
console.log('Starting upload');
} else if (msg === 'STATUS') {
ws.send(JSON.stringify(status[i++ % status.length]));
Expand Down
Loading